Changeset 2422333
- Timestamp:
- 11/20/2020 12:58:00 PM (5 years ago)
- Location:
- kodeks-dashboard/trunk
- Files:
-
- 3 edited
-
functions.php (modified) (6 diffs)
-
kodeks-dashboard.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kodeks-dashboard/trunk/functions.php
r2413812 r2422333 436 436 437 437 // Media uploader - enable SVG 438 if ( ! function_exists( 'cc_mime_types' )){438 if ( !function_exists( 'cc_mime_types' )){ 439 439 function cc_mime_types($mimes) { 440 440 $mimes['svg'] = 'image/svg+xml'; … … 445 445 446 446 // Move Yoast to bottom 447 if ( ! function_exists( 'yoasttobottom' )){447 if ( !function_exists( 'yoasttobottom' )){ 448 448 function yoasttobottom() { 449 449 return 'low'; … … 460 460 461 461 // STOP TINYMCE CLASSES 462 if ( ! function_exists( 'customize_tinymce' )){462 if ( !function_exists( 'customize_tinymce' )){ 463 463 add_filter('tiny_mce_before_init', 'customize_tinymce'); 464 464 … … 754 754 }; 755 755 756 if ( ! function_exists( 'kodeks_search_join' ) && $search_plugin == false ) {756 if ( !function_exists( 'kodeks_search_join' ) && $search_plugin == false ) { 757 757 758 758 function kodeks_search_join( $join ) { 759 759 global $wpdb; 760 760 761 if ( is_search() || (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strcasecmp($_SERVER['HTTP_X_REQUESTED_WITH'], 'xmlhttprequest') == 0)) {761 if ( is_search() ) { 762 762 $join .=' LEFT JOIN '.$wpdb->postmeta. ' ON '. $wpdb->posts . '.ID = ' . $wpdb->postmeta . '.post_id '; 763 763 } … … 779 779 global $pagenow, $wpdb; 780 780 781 if ( is_search() || (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strcasecmp($_SERVER['HTTP_X_REQUESTED_WITH'], 'xmlhttprequest') == 0)) {781 if ( is_search() ) { 782 782 $where = preg_replace( 783 783 "/\(\s*".$wpdb->posts.".post_title\s+LIKE\s*(\'[^\']+\')\s*\)/", … … 795 795 * http://codex.wordpress.org/Plugin_API/Filter_Reference/posts_distinct 796 796 */ 797 if ( ! function_exists( 'kodeks_search_distinct' ) && $search_plugin == false ) {797 if ( !function_exists( 'kodeks_search_distinct' ) && $search_plugin == false ) { 798 798 function kodeks_search_distinct( $where ) { 799 799 global $wpdb; 800 800 801 if ( is_search() || (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strcasecmp($_SERVER['HTTP_X_REQUESTED_WITH'], 'xmlhttprequest') == 0)) {801 if ( is_search() ) { 802 802 return "DISTINCT"; 803 803 } -
kodeks-dashboard/trunk/kodeks-dashboard.php
r2413812 r2422333 3 3 Plugin Name: Kodeks Dashboard 4 4 Description: This plugin customizes WordPress for Kodeks customers. 5 Version: 3.0.1 45 Version: 3.0.15 6 6 Author: Thomas Johannessen & Marius Kaase 7 7 Author URI: http://kodeks.no -
kodeks-dashboard/trunk/readme.txt
r2413812 r2422333 1 1 === Kodeks Dashboard === 2 Version: 3.0.1 42 Version: 3.0.15 3 3 Contributors: Kodeks AS 4 4 Tested up to: 5.5.3
Note: See TracChangeset
for help on using the changeset viewer.