Ben
Forum Replies Created
-
On a related note, it would be nice if there was also a rtrs_rating_count meta field too 🙂
Looking good 🙂
Ah yes, sorry I didn’t see your edit before I posted 👍
Confirmed working 😊
I can’t see how that will work because changing published to private won’t pass those conditionals.
(Old_status: published New_status: private)
That is true for password protected, but for private the $new_status (in hook transition_post_status) will be set to “private”.
But as you said, “Password Protected” $new_status is indeed “published”.
12-08-2022, 16:21:24 Old: private - New: publish (Private > Published) 12-08-2022, 16:21:52 Old: publish - New: publish (Published > Password Protected) 12-08-2022, 16:22:50 Old: publish - New: private (Password Protected > Private) 12-08-2022, 16:23:17 Old: private - New: publish (Private > Password Protected)Finally had a chance to sit down at a laptop, and unless I’m missing something obvious – isn’t it just a case of changing the “cache_controller.class.php”?
Line 945:
if ( ($old_status != 'publish' && $new_status == 'publish') || ($old_status == 'publish' && $new_status != 'publish') ) {Or just (to catch everything, or is there a reason to only get those specific?)
if ( $old_status != $new_status ) {Line 985:
$validPostStatus = array('publish', 'trash', 'private');Seems to work correctly with both private and password protected now.
Thanks for the fast reply.
So there is no way to automate that?
That adds a bit of complexity to the workflow (people will forget to press that link and it doesn’t even show up on mobile anyway) plus means giving staff full purging rights which we’d rather avoid.
It seems like a bit of a security risk 😩
Forum: Themes and Templates
In reply to: [OceanWP] Custom header: Mobile menu emptyOf course.
Have you tried it? On a fresh install?
Forum: Themes and Templates
In reply to: [OceanWP] Custom header: Mobile menu emptyUpdated to v2 – same problem.
I’ve switched the menu back now, so you can see – it’s not even in the html.
Forum: Themes and Templates
In reply to: [OceanWP] Custom header: Mobile menu emptyNo – I had to change the menu style to “slide out” – but this is only a temp fix, as the client doesn’t like it.
It’s the “Drop-down” style that doesn’t work – and as I said, even on a totally fresh install of WordPress.
Forum: Themes and Templates
In reply to: [OceanWP] Custom header: Mobile menu emptyAny updates?
Forum: Themes and Templates
In reply to: [OceanWP] Custom header: Mobile menu emptyOk to properly test this, I created a brand new install with the latest WordPress on a different server.
Installed only OceanWP and OceanWP Extra – and it has the same issue.
- This reply was modified 5 years, 6 months ago by Ben.
Forum: Themes and Templates
In reply to: [OceanWP] Custom header: Mobile menu emptyNope 🙁
Disabled all plugins nothing, tried on another site that only has OceanWP extra and Woocommerce running and same issue.
Forum: Themes and Templates
In reply to: [OceanWP] Custom header: Mobile menu emptyUpdate:
It’s only the “Drop-down” style that doesn’t work.
Fullscreen and sidebar are ok.Forum: Themes and Templates
In reply to: [OceanWP] oceanwp_nav not working on mobile and tabletI remember now, on the older version I had to make this change:
https://wordpress.org/support/topic/oceanwp_nav-shortcode-mobile-menu-issue/Seems that bug still hasn’t been resolved, making the change in the above link does indeed fix it.
- This reply was modified 6 years, 4 months ago by Ben.