Commit c1d33b6b authored by Simon's avatar Simon

release 1.28.0

parent 051199a4
......@@ -20,9 +20,9 @@
## Production
- build CSS & JS assets - `C:\web\dev.biuro\ npm run build`
- build new image `docker build -t biuro/web:1.27.1 .` (update version number)
- build new image `docker build -t biuro/web:1.28.0 .` (update version number)
- login to biuro docker account `docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs`
- push image to docker repository - `docker push biuro/web:1.27.1`
- push image to docker repository - `docker push biuro/web:1.28.0`
## Production
- update biuro/web image version in .env file (staging or www)
......
......@@ -100,12 +100,9 @@ table.comments td.comment p a:after {
margin-top: .5rem;
}
.akismet-alert {
border: 1px solid #e5e5e5;
padding: 0.4em 1em 1.4em 1em;
border-radius: 3px;
-webkit-border-radius: 3px;
border-width: 1px;
border-style: solid;
box-sizing: border-box;
box-shadow: 0 0 0 1px rgba(200, 215, 225, 0.5), 0 1px 2px #e9eff3;
}
.akismet-alert h3.akismet-key-status {
......
......@@ -6,7 +6,7 @@
Plugin Name: Akismet Anti-Spam
Plugin URI: https://akismet.com/
Description: Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.
Version: 4.1.11
Version: 4.1.12
Author: Automattic
Author URI: https://automattic.com/wordpress-plugins/
License: GPLv2 or later
......@@ -37,7 +37,7 @@ if ( !function_exists( 'add_action' ) ) {
exit;
}
define( 'AKISMET_VERSION', '4.1.11' );
define( 'AKISMET_VERSION', '4.1.12' );
define( 'AKISMET__MINIMUM_WP_VERSION', '4.0' );
define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'AKISMET_DELETE_LIMIT', 100000 );
......
......@@ -418,7 +418,7 @@ class Akismet {
do_action( 'akismet_delete_comment_batch', count( $comment_ids ) );
foreach ( $comment_ids as $comment_id ) {
do_action( 'deleted_comment', comment_id );
do_action( 'deleted_comment', $comment_id );
}
}
......
......@@ -3,7 +3,7 @@ Contributors: matt, ryan, andy, mdawaffe, tellyworth, josephscott, lessbloat, eo
Tags: comments, spam, antispam, anti-spam, contact form, anti spam, comment moderation, comment spam, contact form spam, spam comments
Requires at least: 4.6
Tested up to: 5.8
Stable tag: 4.1.11
Stable tag: 4.1.12
License: GPLv2 or later
The best anti-spam protection to block spam comments and spam in a contact form. The most trusted antispam solution for WordPress and WooCommerce.
......@@ -30,6 +30,12 @@ Upload the Akismet plugin to your blog, activate it, and then enter your Akismet
== Changelog ==
= 4.1.12 =
*Release Date - 3 September 2021*
* Fixed "Use of undefined constant" notice.
* Improved styling of alert notices.
= 4.1.11 =
*Release Date - 23 August 2021*
......
......@@ -79,11 +79,13 @@ if ( ! defined( 'WPINC' ) ) die;
<?php
if (isset($attr['page']) && ($attr['page'] == 'landing-1' || $attr['page'] == 'landing-2' || $attr['page'] == 'landing-3' || $attr['page'] == 'landing-4' || $attr['page'] == 'landing-6')):
?>
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="1"><?php _e('Get a job offer', 'biuro'); ?></button>
<input type="hidden" name="s" value="1" />
<button type="submit" class="o-btn c-btn--main c-btn--fill"><?php _e('Get a job offer', 'biuro'); ?></button>
<?php
else:
?>
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="1"><?php _e('Submit', 'biuro-contacts'); ?></button>
<input type="hidden" name="s" value="1" />
<button type="submit" class="o-btn c-btn--main c-btn--fill"><?php _e('Submit', 'biuro-contacts'); ?></button>
<?php
endif;
?>
......
......@@ -62,7 +62,8 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row">
<div class="c-form--submit-wrap">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2"><?php _e('Submit', 'biuro-contacts'); ?></button>
<input type="hidden" name="s" value="2" />
<button type="submit" class="o-btn c-btn--main c-btn--fill"><?php _e('Submit', 'biuro-contacts'); ?></button>
</div>
</div>
......
......@@ -77,7 +77,8 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row">
<div class="c-form--submit-wrap">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="1"><?php _e('Submit', 'biuro-contacts'); ?></button>
<input type="hidden" name="s" value="1" />
<button type="submit" class="o-btn c-btn--main c-btn--fill"><?php _e('Submit', 'biuro-contacts'); ?></button>
</div>
</div>
......
......@@ -35,7 +35,8 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row">
<div class="c-form--submit-wrap">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2"><?php _e('Submit', 'biuro-contacts'); ?></button>
<input type="hidden" name="s" value="2" />
<button type="submit" class="o-btn c-btn--main c-btn--fill"><?php _e('Submit', 'biuro-contacts'); ?></button>
</div>
</div>
......
......@@ -23,7 +23,8 @@ if ( ! defined( 'WPINC' ) ) die;
?>
<div class="c-form--row c-form--row-sticky">
<button type="submit" class="o-btn c-btn--main c-btn--fit" name="s" value="1"><?php _e('Apply', 'biuro-contacts'); ?></button>
<input type="hidden" name="s" value="1" />
<button type="submit" class="o-btn c-btn--main c-btn--fit"><?php _e('Apply', 'biuro-contacts'); ?></button>
<?php
if ($recommendPage):
?>
......
......@@ -156,7 +156,8 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row">
<div class="c-form--submit-wrap">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2"><?php _e('Apply', 'biuro-contacts'); ?></button>
<input type="hidden" name="s" value="2" />
<button type="submit" class="o-btn c-btn--main c-btn--fill"><?php _e('Apply', 'biuro-contacts'); ?></button>
</div>
</div>
......
......@@ -90,6 +90,8 @@ window.dataLayer = window.dataLayer || [];
window.dataLayer.push({ 'event': 'b2c_form_submit_success_validated', 'label': 'Job page' });
</script>
<input type="hidden" name="gtm-application-submitted" />
<?php
unset($_SESSION['position--s']);
}
......
......@@ -227,7 +227,8 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row">
<div class="c-form--submit-wrap u-align--center">
<button type="submit" class="o-btn c-btn--main c-btn--max-fill" name="s" value="1"><?php _e('Recommend', 'biuro-contacts'); ?></button>
<input type="hidden" name="s" value="1" />
<button type="submit" class="o-btn c-btn--main c-btn--max-fill"><?php _e('Recommend', 'biuro-contacts'); ?></button>
</div>
</div>
......
......@@ -15,14 +15,14 @@ class WPSEO_Gutenberg_Compatibility {
*
* @var string
*/
const CURRENT_RELEASE = '11.2.1';
const CURRENT_RELEASE = '11.4.0';
/**
* The minimally supported version of Gutenberg by the plugin.
*
* @var string
*/
const MINIMUM_SUPPORTED = '11.2.1';
const MINIMUM_SUPPORTED = '11.4.0';
/**
* Holds the current version.
......
......@@ -75,6 +75,7 @@ class WPSEO_Upgrade {
'16.5-RC0' => 'upgrade_165',
'16.9-RC0' => 'upgrade_169',
'17.0-RC0' => 'upgrade_170',
'17.1-RC0' => 'upgrade_171',
];
array_walk( $routines, [ $this, 'run_upgrade_routine' ], $version );
......@@ -870,6 +871,18 @@ class WPSEO_Upgrade {
}
}
/**
* Performs the 17.1 upgrade. Removes the pipe and tilde separators and replaces them with the dash separator.
*
* @return void
*/
private function upgrade_171() {
$separator = WPSEO_Options::get( 'separator' );
if ( $separator === 'sc-pipe' || $separator === 'sc-tilde' ) {
WPSEO_Options::set( 'separator', 'sc-dash' );
}
}
/**
* Sets the home_url option for the 15.1 upgrade routine.
*
......
......@@ -973,14 +973,6 @@ class WPSEO_Option_Titles extends WPSEO_Option {
'option' => '&#8902;',
'label' => __( 'Low asterisk', 'wordpress-seo' ),
],
'sc-pipe' => [
'option' => '|',
'label' => __( 'Vertical bar', 'wordpress-seo' ),
],
'sc-tilde' => [
'option' => '~',
'label' => __( 'Small tilde', 'wordpress-seo' ),
],
'sc-laquo' => [
'option' => '&laquo;',
'label' => __( 'Left angle quotation mark', 'wordpress-seo' ),
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment