Skip to content

Commit

Permalink
Merge branch 'release/v3.0.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
wpmark committed Jul 8, 2019
2 parents 1f66b11 + 7591a01 commit eca7c5e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: jobs, recruitment
Requires at least: 5.1
Requires PHP: 5.6
Tested up to: 5.2
Stable tag: 3.0.4
Stable tag: 3.0.5
Donate link: https://store.highrise.digital/downloads/wpbroadbean-support-docs/
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Expand Down Expand Up @@ -69,6 +69,10 @@ Frequently asked questions are available [here](https://store.highrise.digital/d

== Changelog ==

= 3.0.5 =
* Minor tweaks to the plugin updates and news sign-up form on the settings screen.
* Add the current logged in users email address to pre-populate the sign-up form on the settings screen.

= 3.0.4 =
* Added job feed notes to the default job fields and taxonomies.
* Added information to the settings page and the new support add-on.
Expand Down
21 changes: 18 additions & 3 deletions views/settings-ctas.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
* @package WP_Broadbean
*/

// get the current user object.
$current_user = wp_get_current_user();

?>

<div class="wpbb-cta-col" id="poststuff">
Expand Down Expand Up @@ -36,17 +39,29 @@
<div id="mc_embed_signup_scroll">
<div class="mc-field-group">
<label for="mce-EMAIL">Email Address <span class="asterisk">*</span></label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" placeholder="<?php echo esc_attr( get_option( 'admin_email' ) ); ?>">
<input type="email" value="<?php echo esc_attr( $current_user->user_email ); ?>" name="EMAIL" class="required email" id="mce-EMAIL">
</div>
<div class="mc-field-group input-group" style="display:none;">
<strong>WordPress Plugins </strong>
<ul>
<li>
<input type="checkbox" value="1" name="group[9531][1]" id="mce-group[9531]-9531-0" checked>
<label for="mce-group[9531]-9531-0">WP Broadbean</label>
</li>
<li>
<input type="checkbox" value="2" name="group[9531][2]" id="mce-group[9531]-9531-1">
<label for="mce-group[9531]-9531-1">WP LogicMelon</label>
</li>
</ul>
</div>
<p><a href="https://us17.campaign-archive.com/home/?u=8f84734f114d7816de2addb0d&id=eb5dafa0ef"><?php esc_html_e( 'View previous emails sent to users', 'wpbroadbean' ); ?></a></p>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div><!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true">
<input type="text" name="b_8f84734f114d7816de2addb0d_eb5dafa0ef" tabindex="-1" value="">
</div>
<p><small class="subscribe-terms"><?php esc_html_e( 'We only store the email address you enter below, will only use it to send you updates and news about this plugin. You can unsubscribe at any time simply by following the links in an email sent to you. Clicking subscribe will take you to our email marketing platform Mailchimp for conformation.', 'wpbroadbean' ); ?></small></p>
<p><small class="subscribe-terms"><?php esc_html_e( 'We store the email address you enter below in our mailing software and will only use it to send you updates and news about this plugin. You can unsubscribe at any time simply by following the links in an email sent to you.', 'wpbroadbean' ); ?></small></p>
<div class="clear">
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button-primary">
</div>
Expand Down
4 changes: 2 additions & 2 deletions wpbroadbean.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: WP Broadbean
Plugin URI: https://highrise.digital/products/wpbroadbean-wordpress-plugin/
Description: A plugin which integrates <a href="https://www.broadbean.com/uk/products/features/job-posting-distribution/">Broadbean job posting and distribution</a> with WordPress. It allows jobs written in Broadbean to be distributed to a WordPress site and have applications made to those jobs in WordPress delivered back to Broadbean.
Version: 3.0.4
Version: 3.0.5
Author: Highrise Digital
Author URI: https://highrise.digital
License: GPLv3 or later
Expand Down Expand Up @@ -31,7 +31,7 @@
define( 'WPBB_LOCATION_URL', plugins_url( '', __FILE__ ) );

// Define plugin version constant and db version constant.
define( 'WPBB_PLUGIN_VERSION', '3.0.4' );
define( 'WPBB_PLUGIN_VERSION', '3.0.5' );
define( 'WPBB_PLUGIN_DB_VERSION', 2 );

/**
Expand Down

0 comments on commit eca7c5e

Please sign in to comment.