Changeset 1588659
- Timestamp:
- 02/04/2017 05:00:53 AM (9 years ago)
- Location:
- pigeon-pack
- Files:
-
- 68 added
- 4 edited
-
tags/1.3.0 (added)
-
tags/1.3.0/campaign-post-type.php (added)
-
tags/1.3.0/class.php (added)
-
tags/1.3.0/css (added)
-
tags/1.3.0/css/admin.css (added)
-
tags/1.3.0/css/admin.min.css (added)
-
tags/1.3.0/css/pigeonpack.css (added)
-
tags/1.3.0/css/pigeonpack.min.css (added)
-
tags/1.3.0/css/smoothness (added)
-
tags/1.3.0/css/smoothness/images (added)
-
tags/1.3.0/css/smoothness/images/animated-overlay.gif (added)
-
tags/1.3.0/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png (added)
-
tags/1.3.0/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png (added)
-
tags/1.3.0/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png (added)
-
tags/1.3.0/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png (added)
-
tags/1.3.0/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png (added)
-
tags/1.3.0/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png (added)
-
tags/1.3.0/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png (added)
-
tags/1.3.0/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png (added)
-
tags/1.3.0/css/smoothness/images/ui-icons_222222_256x240.png (added)
-
tags/1.3.0/css/smoothness/images/ui-icons_2e83ff_256x240.png (added)
-
tags/1.3.0/css/smoothness/images/ui-icons_454545_256x240.png (added)
-
tags/1.3.0/css/smoothness/images/ui-icons_888888_256x240.png (added)
-
tags/1.3.0/css/smoothness/images/ui-icons_cd0a0a_256x240.png (added)
-
tags/1.3.0/css/smoothness/jquery-ui-1.10.0.custom.css (added)
-
tags/1.3.0/css/smoothness/jquery-ui-1.10.0.custom.min.css (added)
-
tags/1.3.0/functions.php (added)
-
tags/1.3.0/i18n (added)
-
tags/1.3.0/i18n/pigeonpack-es_ES.mo (added)
-
tags/1.3.0/i18n/pigeonpack-es_ES.po (added)
-
tags/1.3.0/i18n/pigeonpack.pot (added)
-
tags/1.3.0/images (added)
-
tags/1.3.0/images/add-16x16.png (added)
-
tags/1.3.0/images/add-32x32.png (added)
-
tags/1.3.0/images/blasts-16x16.png (added)
-
tags/1.3.0/images/blasts-32x32.png (added)
-
tags/1.3.0/images/campaigns-16x16.png (added)
-
tags/1.3.0/images/campaigns-32x32.png (added)
-
tags/1.3.0/images/delete-16x16.png (added)
-
tags/1.3.0/images/delete-32x32.png (added)
-
tags/1.3.0/images/faq-16x16.png (added)
-
tags/1.3.0/images/faq-32x32.png (added)
-
tags/1.3.0/images/help-16x16.png (added)
-
tags/1.3.0/images/help-32x32.png (added)
-
tags/1.3.0/images/lists-16x16.png (added)
-
tags/1.3.0/images/lists-32x32.png (added)
-
tags/1.3.0/images/minus-16x16.png (added)
-
tags/1.3.0/images/pigeon-16x16.png (added)
-
tags/1.3.0/images/plus-16x16.png (added)
-
tags/1.3.0/images/settings-16x16.png (added)
-
tags/1.3.0/images/settings-32x32.png (added)
-
tags/1.3.0/includes (added)
-
tags/1.3.0/includes/html2txt.php (added)
-
tags/1.3.0/js (added)
-
tags/1.3.0/js/campaign.js (added)
-
tags/1.3.0/js/campaign.min.js (added)
-
tags/1.3.0/js/list.js (added)
-
tags/1.3.0/js/list.min.js (added)
-
tags/1.3.0/js/pigeonpack.js (added)
-
tags/1.3.0/js/pigeonpack.min.js (added)
-
tags/1.3.0/js/settings.js (added)
-
tags/1.3.0/js/settings.min.js (added)
-
tags/1.3.0/list-post-type.php (added)
-
tags/1.3.0/pigeonpack.php (added)
-
tags/1.3.0/processing.php (added)
-
tags/1.3.0/readme.txt (added)
-
tags/1.3.0/shortcodes.php (added)
-
tags/1.3.0/widgets.php (added)
-
trunk/campaign-post-type.php (modified) (1 diff)
-
trunk/functions.php (modified) (3 diffs)
-
trunk/pigeonpack.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pigeon-pack/trunk/campaign-post-type.php
r1514471 r1588659 136 136 137 137 138 if ( !function_exists( 'pigeonpack_campaign_sortable_columns_posts_clauses' ) ) { 139 140 function pigeonpack_campaign_sortable_columns_posts_clauses_request( $pieces, $query ) { 141 global $wpdb; 142 143 /** 144 * We only want our code to run in the main WP query 145 * AND if an orderby query variable is designated. 146 */ 147 if ( $query->is_main_query() && ( $orderby = $query->get( 'orderby' ) ) ) { 148 149 // Get the order query variable - ASC or DESC 150 $order = strtoupper( $query->get( 'order' ) ); 151 152 // Make sure the order setting qualifies. If not, set default as ASC 153 if ( ! in_array( $order, array( 'ASC', 'DESC' ) ) ) 154 $order = 'ASC'; 155 156 switch( $orderby ) { 157 158 case 'campaign_type': 159 $pieces['join'] .= " LEFT JOIN $wpdb->postmeta pigeonpack ON pigeonpack.post_id = {$wpdb->posts}.ID AND pigeonpack.meta_key = '_pigeonpack_campaign_type'"; 160 $pieces['orderby'] = " pigeonpack.meta_value $order, " . $pieces[ 'orderby' ]; 161 break; 162 163 } 164 165 } 166 167 return $pieces; 168 169 } 170 add_filter( 'posts_clauses_request', 'pigeonpack_campaign_sortable_columns_posts_clauses_request', 1, 2 ); 171 172 } 173 138 174 if ( !function_exists( 'pigeonpack_human_readable_campaign_type' ) ) { 139 175 -
pigeon-pack/trunk/functions.php
r1514471 r1588659 454 454 'offset' => 0, 455 455 ); 456 456 457 457 extract( wp_parse_args( $args, $defaults ) ); 458 458 … … 501 501 * @param object $query Current user query 502 502 */ 503 function pigeonpack_pre_user_query( &$query ) {503 function pigeonpack_pre_user_query( $query ) { 504 504 505 505 global $wpdb; … … 906 906 if ( empty( $recipients_arr ) ) 907 907 $recipients_arr = get_post_meta( $campaign->ID, '_pigeonpack_recipients', true ); 908 908 909 909 $headers[] = 'From: ' . $from_name . ' <' . $from_email . '>'; 910 910 $headers = apply_filters( 'pre_subscriber_loop_pigeonpack_headers', $headers ); -
pigeon-pack/trunk/pigeonpack.php
r1514471 r1588659 12 12 Description: Free and easy email marketing, newsletters, and campaigns; built into your WordPress dashboard! 13 13 Author: layotte 14 Version: 1. 2.014 Version: 1.3.0 15 15 Author URI: http://pigeonpack.com/ 16 16 Tags: email, marketing, email marketing, newsletters, email newsletters, campaigns, email campaigns, widget, form, mailing lists … … 27 27 28 28 //Define global variables... 29 define( 'PIGEON_PACK_VERSION' , '1. 2.0' );29 define( 'PIGEON_PACK_VERSION' , '1.3.0' ); 30 30 define( 'PIGEON_PACK_DB_VERSION', '1.0.0' ); 31 31 define( 'PIGEON_PACK_API_URL', 'http://pigeonpack.com/api' ); -
pigeon-pack/trunk/readme.txt
r1514472 r1588659 3 3 Tags: email, campaign, newsletter, email marketing, widget, email newsletter, email widget, newsletter widget, widget 4 4 Requires at least: 3.4 5 Tested up to: 4. 76 Stable tag: 1. 2.05 Tested up to: 4.8 6 Stable tag: 1.3.0 7 7 8 8 Free and easy email marketing, newsletters, and campaigns; built into your WordPress dashboard! … … 64 64 65 65 == Changelog == 66 67 = 1.3.0 = 68 * Fixing column sort for campaign type column 69 * Modifying pre_user_query function 66 70 67 71 = 1.2.0 =
Note: See TracChangeset
for help on using the changeset viewer.