Changeset 1455077
- Timestamp:
- 07/15/2016 06:40:22 AM (10 years ago)
- Location:
- subscribe-to-category/trunk
- Files:
-
- 3 edited
-
classes/class-subscribe.php (modified) (3 diffs)
-
readme.txt (modified) (5 diffs)
-
subscribe-to-category.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
subscribe-to-category/trunk/classes/class-subscribe.php
r1327792 r1455077 608 608 * @since 1.0.0 609 609 * 610 * @return [type] [description] 611 * 612 * @todo add some filter 610 * @return string 613 611 */ 614 612 public function stc_subscribe_render( $atts ){ … … 619 617 $form = ob_get_contents(); 620 618 ob_get_clean(); 621 //$form = apply_filters( 'stc_form', $form, 'teststring' ); 619 622 620 return $form; 623 621 } … … 834 832 if( isset( $_POST['stc_email']) ) 835 833 $email = $_POST['stc_email']; 836 } 834 }else{ 835 // preset for email adress if the user is logged in 836 if( is_user_logged_in() ){ 837 $user_id = get_current_user_id(); 838 $user_info = get_userdata( $user_id ); 839 $email = $user_info->user_email; 840 } 841 } 842 843 837 844 838 845 // Is there a unsubscribe action -
subscribe-to-category/trunk/readme.txt
r1327793 r1455077 3 3 Tags: subscribe to post, subscribe to category, subscribe to news, subscribe 4 4 Requires at least: 3.9 5 Tested up to: 4. 4.16 Stable tag: 1. 8.15 Tested up to: 4.5.3 6 Stable tag: 1.9.0 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 32 32 33 33 = What Translations are included? = 34 * Dutch 34 35 * English 35 36 * French 37 * German 36 38 * Italian 39 * Japanese 37 40 * Lithuanian 41 * Norwegian 38 42 * Russian 39 43 * Spanish 40 44 * Swedish 45 41 46 ____ 42 47 Have you translated this plugin to another language? Please send me your files to [email protected] and I will add them to the plugin. … … 114 119 115 120 == Changelog == 121 = 1.9.0 = 122 * Email address preset for logged in users. 123 * Japanese, Dutch, German and Norwegian language added. 124 116 125 = 1.8.1 = 117 126 * Added pot file to be used for translation. … … 119 128 120 129 = 1.7.0 = 121 * Added some new hooks: stc_after_update_subscriber, stc_after_insert_subscriber, stc_before_unsubscribe 130 * Added some new hooks: stc_after_update_subscriber, stc_after_insert_subscriber, stc_before_unsubscribe. 122 131 123 132 = 1.6.0 = 124 * Added a Widget for subscription form 125 * Don't show category list if only one is available (thanks to davefx) 126 * Extended short code attributes with an option to use category id instead of category name (thanks to Stingray_454) 133 * Added a Widget for subscription form. 134 * Don't show category list if only one is available (thanks to davefx). 135 * Extended short code attributes with an option to use category id instead of category name (thanks to Stingray_454). 127 136 128 137 = 1.3 = 129 * Added hooks and filters to make the plugin extensible 130 * Added Lithuanian language thanks to Claudio138 * Added hooks and filters to make the plugin extensible. 139 * Added Lithuanian language. 131 140 132 141 = 1.2.1 = 133 * Fixed some undefined variables that might have caused some errors for some environments 134 * Renamed language files for russian language to correct syntax 135 * Added Italian language thanks to Claudio142 * Fixed some undefined variables that might have caused some errors for some environments. 143 * Renamed language files for russian language to correct syntax. 144 * Added Italian language. 136 145 137 146 = 1.2.0 = … … 143 152 = 1.1.0 = 144 153 * Added php sleep() function to prevent sending all e-mails in the same scope. 145 * Using Ajax when send is manually triggered in back-end 154 * Using Ajax when send is manually triggered in back-end. 146 155 147 156 = 1.0.0 = -
subscribe-to-category/trunk/subscribe-to-category.php
r1327792 r1455077 4 4 Plugin URI: http://dcweb.nu 5 5 Description: Lets your visitor subscribe to posts for one or several categories. 6 Version: 1. 8.16 Version: 1.9.0 7 7 Author: Daniel Söderström 8 8 Author URI: http://dcweb.nu/
Note: See TracChangeset
for help on using the changeset viewer.