Skip to content

Releases: greenpeace/planet4-master-theme

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 <dtovbein@gmail.com>

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

v1.297.0

03 Oct 08:13
f3b4c76
Compare
Choose a tag to compare
PLANET-7597 Fix Block/Pattern Usage Report links (#2391)

There were several issues with them, the post title links were not correct and also the post id is sometimes removed which caused problems.

v1.296.0

25 Sep 09:44
aa802ea
Compare
Choose a tag to compare
Remove native share button background (#2387)

We removed the background color for other share buttons already but forgot this one