Skip to content

Releases: greenpeace/planet4-master-theme

v1.306.0

15 Jan 11:44
84b0ae3
Compare
Choose a tag to compare
PLANET-7729: Fix Carousel interval issue (#2497)

Fix Carousel interval issue

- By removing this attr the Carousel stops sliding crazily

v1.305.0

14 Jan 09:43
Compare
Choose a tag to compare
Add translation text-domain for Blocks

As we moved Blocks to the theme, we also adjusted the Loco plugin
so that blocks translation also live here. They are already checked in
under `languages/blocks`.

This change just adds the additional translation text-domain, so the theme
know where to pick up the translations from.

Also deletes the backup autosave files. The script on the Handbook side has
been adjusted not to check in these files.

v1.304.1

13 Dec 06:22
Compare
Choose a tag to compare
Follow up GF checkbox styles issue

- The issue is happening on ginput_container selector

v1.304.0

12 Dec 14:53
d67ae1c
Compare
Choose a tag to compare
PLANET-7694 Fix design issues in Posts List with carousel style (#2474)

These were an issue only in Posts

v1.303.0

02 Dec 10:21
Compare
Choose a tag to compare
PLANET-7482 Use proper function for displaying author bio

We are currently using [the_author_meta](https://developer.wordpress.org/reference/functions/the_author_meta/).
But the function doesn't return a string, which is what [wpautop](https://developer.wordpress.org/reference/functions/wpautop/) expects. This also triggers the following warning locally:

```
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wp-includes/formatting.php on line 449
```

Instead, we should use [get_the_author_meta](https://developer.wordpress.org/reference/functions/get_the_author_meta/) as it's also mentioned in the documentation of `the_author_meta`:

>NOTE: Use `get_the_author_meta()` if you need to return (and do something with) the field, rather than just display it.

This also fixes bug [PLANET-7482](https://jira.greenpeace.org/browse/PLANET-7482).
So it includes some css changes to make the links also follow the correct design.

On the Authors block (Post view), when the bio is bigger than our character limit, the `wpautop` is not used
as it's hard to keep the formatting while breaking up the description text.

v1.302.0

27 Nov 12:38
a87ba2d
Compare
Choose a tag to compare
PLANET-7135: Fix country selector tab index (#2187)

* PLANET-7136: Fix country selector tab index

Ref: https://jira.greenpeace.org/browse/PLANET-7135

- Implement a new script
- Improve SEO on this element
- Fix border bottom
- Fix tabindex to country group
- Fix focus tab
- Change the order of elements programatically
- Apply transition duration dynamic variable
- Update JSDoc

---------

Co-authored-by: Dan Tovbein <[email protected]>

v1.301.0: Show media import button only on Media Library

15 Nov 11:43
Compare
Choose a tag to compare
We are injecting an Import button, in order to guide people on import media files while on Media Library.
But currently that button show up everywhere, on all post types.

This small change makes the button visible only in the Media Library.

v1.300.0

13 Nov 14:33
Compare
Choose a tag to compare
Fix tag page when redirection is not set

This is a revert of fc35da662402012b2d67ae0266ac5aac1321a49b

It seems that `get_post` returns a specific post even the argument passed as id
is an empty string.

v1.299.0

06 Nov 07:49
22a325d
Compare
Choose a tag to compare
PLANET-7563 Apply New Link Style to lists in Posts (#2431)

This was only working for other post types

v1.298.0

17 Oct 09:01
9ee5294
Compare
Choose a tag to compare
PLANET-7575: Rename social media events (#2351)

* PLANET-7575: Rename social media events

Ref: https://jira.greenpeace.org/browse/PLANET-7575

- Keep "uaevent" and add "page_shared"
- Also add "channel" variable