Changeset 1725723
- Timestamp:
- 09/06/2017 04:40:32 PM (9 years ago)
- Location:
- wp-multitasking/trunk
- Files:
-
- 3 edited
-
includes/addquicktag_cpt.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
wp-multitasking.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-multitasking/trunk/includes/addquicktag_cpt.php
r831023 r1725723 5 5 exit; 6 6 } 7 8 add_action('admin_menu', 'wpmt_addquicktag_menu'); 7 if(class_exists( 'Add_Quicktag' )){ 8 add_action('admin_menu', 'wpmt_addquicktag_menu'); 9 } 9 10 10 11 function wpmt_addquicktag_menu(){ … … 45 46 <?php 46 47 $post_types = get_post_types(); 47 $exclude_types = array('post', 'page', 'revision' );48 $exclude_types = array('post', 'page', 'revision', 'attachment', 'nav_menu_item', 'custom_css', 'customize_changeset', 'acf-field-group', 'acf-field'); 48 49 foreach ($post_types as $post_type) { 49 50 if(in_array($post_type, $exclude_types)){ … … 88 89 } 89 90 90 if (!function_exists('wpmt_addquicktag_post_types') ) {91 if (!function_exists('wpmt_addquicktag_post_types') and class_exists( 'Add_Quicktag' )) { 91 92 // add custom function to filter hook 'addquicktag_post_types' 92 93 add_filter('addquicktag_post_types', 'wpmt_addquicktag_post_types'); -
wp-multitasking/trunk/readme.txt
r837190 r1725723 1 === WP MultiTasking ===1 === WP MultiTasking - PPO Utilities === 2 2 Contributors: thangnv27 3 3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6ADQPKM8RFF4A 4 Tags: shorcode,mark id,bbcode,welcome popup,exit popup,popup,addquicktag,custom post type,post type 4 Tags: shorcode,mark id,bbcode,welcome popup,exit popup,popup,addquicktag,custom post type,post type,remove base slug 5 5 Requires at least: 2.0.2 6 Tested up to: 3.87 Stable tag: 4. 36 Tested up to: 4.8.1 7 Stable tag: 4.8.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 77 77 == Changelog == 78 78 79 = 0.1.5 = 80 * Fix bug js 81 * Fix Add Quick Tag support type 82 79 83 = 0.1.4 = 80 84 * Fix bug flush rewrite after insert post or custom post type -
wp-multitasking/trunk/wp-multitasking.php
r837190 r1725723 1 1 <?php 2 2 /*************************************************************************** 3 Plugin Name: WP MultiTasking 3 Plugin Name: WP MultiTasking - PPO Utilities 4 4 Plugin URI: http://wordpress.org/plugins/wp-multitasking/ 5 5 Description: This plugin is synthetic utility for your WordPress site 6 Version: 0.1. 46 Version: 0.1.5 7 7 Author: thangnv27 8 8 Author URI: http://ppo.vn/ … … 121 121 <script type="text/javascript">/* <![CDATA[ */ 122 122 jQuery(function($){ 123 $("select.wpmt-chosen-select").chosen({width: "40%"}); 123 try { 124 $("select.wpmt-chosen-select").chosen({width: "40%"}); 125 } catch(err) { 126 console.log(err.message) 127 } 124 128 }); 125 129 /* ]]> */
Note: See TracChangeset
for help on using the changeset viewer.