Changeset 859239
- Timestamp:
- 02/17/2014 10:02:42 AM (12 years ago)
- Location:
- sendit/trunk
- Files:
-
- 4 edited
-
libs/actions.php (modified) (2 diffs)
-
libs/extensions-handler.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
sendit.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sendit/trunk/libs/actions.php
r487303 r859239 143 143 global $wpdb; 144 144 $table_email = SENDIT_EMAIL_TABLE; 145 $subscribers=$wpdb->get_results("select * from $table_email where id_lista = $id_listaand accepted='y'");145 $subscribers=$wpdb->get_results("select * from $table_email where id_lista = '".$id_lista."' and accepted='y'"); 146 146 return $subscribers; 147 147 } … … 222 222 global $wpdb; 223 223 $table_liste = SENDIT_LIST_TABLE; 224 $lista=$wpdb->get_row("select * from $table_liste where id_lista = $id_lista");224 $lista=$wpdb->get_row("select * from $table_liste where id_lista = '".$id_lista."'"); 225 225 return $lista; 226 226 } -
sendit/trunk/libs/extensions-handler.php
r859005 r859239 45 45 } 46 46 47 48 add_action('admin_init', 'disable_revisions'); 49 function disable_revisions(){ 50 remove_post_type_support('newsletter', 'revisions'); 51 } 52 53 add_action('admin_print_scripts', 'disable_autosave'); 54 function disable_autosave(){ 55 global $post; 56 if(get_post_type($post->ID) === 'newsletter'){ 57 wp_deregister_script('autosave'); 58 } 59 } 60 61 62 47 63 add_filter('post_updated_messages', 'newsletter_updated_messages'); 48 64 function newsletter_updated_messages( $messages ) { … … 143 159 $footer=$list_detail->footer; 144 160 $css=''; 145 161 include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); 146 162 if(is_plugin_active('sendit-pro-template-manager/sendit-pro-template-manager.php')): 147 163 //custom post type template -
sendit/trunk/readme.txt
r859005 r859239 5 5 Requires at least: 3.0.1 6 6 Tested up to: 3.8.1 7 Stable tag: 2.2. 67 Stable tag: 2.2.7 8 8 9 9 Sendit is a friendly and easy newsletter and mailing lists plugin for Wordpress, born to make newsletter delivery management a great experience. … … 32 32 = Changelog = 33 33 34 * 2.2.7 Fixes some error on log disable autosave and revisions for newsletters 34 35 * 2.2.6 Fixes some warning and better interface with the new wp-admin 35 36 * 2.2.5 Fixes unsubscribe link duplication -
sendit/trunk/sendit.php
r859005 r859239 4 4 Plugin URI: http://www.giuseppesurace.com/sendit-wp-newsletter-mailing-list/ 5 5 Description: Wordpress newsletter plugin. Sendit is a friendly and easy newsletter and mailing lists plugin for WordPress, born to make newsletter delivery management a great experience. 6 Version: 2.2. 66 Version: 2.2.7 7 7 Author: Giuseppe Surace 8 8 Author URI: http://sendit.wordpressplanet.org
Note: See TracChangeset
for help on using the changeset viewer.