Plugin Directory

Changeset 2083091


Ignore:
Timestamp:
05/08/2019 06:23:52 AM (7 years ago)
Author:
vinhdd
Message:

Check for errors in WordPress version 5.2

Location:
launchpad-article-feedback/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • launchpad-article-feedback/trunk/README.txt

    r2072856 r2083091  
    44Tags: Was this article helpful,feedback,article feedback, WordPress Article Feedback, Launchpad Article Feedback, Article reviews
    55Requires at least: 3.0
    6 Tested up to: 5.1.1
     6Tested up to: 5.2
    77Stable tag: 1.0
    88License: GPLv3 or later
     
    6969= 1.0 =
    7070* Default:Add "Was this article helpful?" at the Start/End or on both of content with Thumbsup to Share and Thumbsdown for feedback to author.
     71= 1.1 =
     72* Default: Check for errors in WordPress v5.2
     73
    7174== License ==
    7275
  • launchpad-article-feedback/trunk/assets/css/launchpad_feedback.css

    r2071333 r2083091  
    4444    padding: 30px 40px;
    4545    box-shadow: 0px 3px 20px 0px rgba(0,64,128,0.1);
    46     max-width: 350px;
     46    max-width: 400px;
    4747    border-radius: 10px;
    4848}
  • launchpad-article-feedback/trunk/index.php

    r2072855 r2083091  
    44    Plugin URI: https://launchpad.vn
    55    Description: Was this article helpful?
    6     Version: 1.0
     6    Version: 1.1
    77    Author: Launchpad.vn
    88    Author URI: https://launchpad.vn
     
    1414class LaunchpadFeedback {
    1515    private static $instance;
    16     const VERSION = '1.0';
     16    const VERSION = '1.1';
    1717
    1818    private static function has_instance() {
     
    6363        add_filter( 'manage_edit-feedback_columns', array( $this, 'feedback_edit_columns' ) );
    6464        add_action( 'manage_posts_custom_column', array( $this, 'feedback_column_display' ), 10, 2 );
    65         add_action( 'restrict_manage_posts', array( $this, 'feedback_add_taxonomy_filters' ) );
    66 
    6765        add_action( 'add_meta_boxes', array( $this, 'lp_create_metabox' ) );
    6866    }
     
    138136
    139137    public function feedback_column_display( $feedback_columns, $post_id ) {
    140 
    141         // Code from: http://wpengineer.com/display-post-thumbnail-post-page-overview
    142        
    143138        switch ( $feedback_columns ) {
    144            
    145139            case "name":
    146140                echo '<strong style="font-size:15px;color:#333;">'. get_post_meta( $post_id, 'feedback_name', true ) . '</strong><br>';
     
    183177        wp_enqueue_style( 'wp-color-picker' );
    184178        wp_enqueue_script('launchpad_feedback_admin_js', plugins_url( 'assets/js/launchpad_feedback_admin.js', __FILE__ ), array('jquery','wp-color-picker'), self::VERSION, 'all' );
    185         wp_register_style('launchpad_feedback_admin_css', plugin_dir_url(__FILE__) . '/assets/css/launchpad_feedback_admin.css', false, $version );
     179        wp_register_style('launchpad_feedback_admin_css', plugin_dir_url(__FILE__) . '/assets/css/launchpad_feedback_admin.css', false, self::VERSION );
    186180        wp_enqueue_style( 'launchpad_feedback_admin_css' );
    187                
    188181    }
    189182
Note: See TracChangeset for help on using the changeset viewer.