Plugin Directory

Changeset 1957130


Ignore:
Timestamp:
10/15/2018 08:00:34 PM (7 years ago)
Author:
josh401
Message:

Version 4.0.4

Location:
wp-edit/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-edit/trunk/includes/functions.php

    r1490696 r1957130  
    762762    if(isset($opts_user_meta['default_visual_tab']) && $opts_user_meta['default_visual_tab'] === '1') {
    763763       
    764         add_filter( 'wp_default_editor', create_function('', 'return "tmce";') );
     764        // If php version 7 or higher
     765        if ( strnatcmp( phpversion(),'7.0.0') >= 0 ) {
     766           
     767            add_filter( 'wp_default_editor', function() { return 'tmce'; } );
     768        }
     769        // Else using php below version 7
     770        else {
     771           
     772            add_filter( 'wp_default_editor', create_function('', 'return "tmce";') );
     773        }
    765774    }
    766775   
  • wp-edit/trunk/main.php

    r1853617 r1957130  
    44 * Plugin URI: https://wpeditpro.com
    55 * Description: Ultimate WordPress Content Editing.
    6  * Version: 4.0.3
     6 * Version: 4.0.4
    77 * Author: Josh Lobe
    88 * Author URI: https://wpeditpro.com
     
    19521952                         
    19531953                                echo '<table><tbody>';
    1954                                     echo '<tr><td>Downloaded:</td><td>' . number_format( $call_api->downloaded ) . ' times</td></tr>';
    19551954                                    echo '<tr><td>Active Installs:</td><td>' . number_format( $call_api->active_installs ) . '+</td></tr>';
    19561955                                    echo '<tr><td>Number of Ratings:</td><td>' . $call_api->num_ratings . '</td></tr>';
  • wp-edit/trunk/readme.txt

    r1853617 r1957130  
    44Tags: wpedit, wp edit, editor, buttons, button, add, font, font style, font select, table, tables, visual editor, search, replace, colors, color, anchor, advance, advanced, links, link, popup, javascript, upgrade, update, admin, image, images, citations, preview, html, custom css, borders, pages, posts, colorful, php, php widget, shortcode, shortcodes, style, styles, plugin, login, excerpt, id, post, page, youtube, tinymce
    55Requires at least: 3.9
    6 Tested up to: 4.9.6
    7 Stable tag: 4.0.3
     6Tested up to: 4.9.8
     7Stable tag: 4.0.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2020
    2121Refer your favorite plugin/theme developers to the [WP Edit Custom Buttons API](http://learn.wpeditpro.com/custom-buttons-api/) documentation to get your favorite buttons added to WP Edit.
    22 
    23 = Introduction =
    24 For a riveting video introduction into the possibilities available with WP Edit; please visit [Jupiter Jim's Marketing Team](http://jupiterjim.club/wordpress/tutorials/change-font-family-font-size-wordpress-4-4-1/).
    2522
    2623= Description =
     
    107104== Changelog ==
    108105
     106= 4.0.4 =
     107* Updated function for php7 and backwards compatibility (to rid php warning). Thanks @kendawes!
     108
    109109= 4.0.3 =
    110110* Updated readme.
Note: See TracChangeset for help on using the changeset viewer.