Jonathan Bossenger
Forum Replies Created
-
Forum: Plugins
In reply to: [Debug Bar] WP 6.7 Translation loading issue@seebz I think I can see what needs to be fixed, but I can’t replicate the initial error in order to test it to be sure. I’ve tried installing this on a clean WordPress install and switching my site language and my user profile language to something else and I still can’t get it to trigger.
Are you able to replicate the error on a clean WordPress install? If so, could you detail the steps, so I can replicate it on my side.
Thanks
Forum: Plugins
In reply to: [Debug Bar] WP 6.7 Translation loading issueThanks for confirming @seebz. The plugin might need to be updated for the translation changes in 6.7, let me check.
Forum: Fixing WordPress
In reply to: space above my menuHi @imbellem
You will need to contact support for the Divi builder, which will be via the Elegant Themes website
Forum: Fixing WordPress
In reply to: Issue with “Database Update Required”Hi @treadops
The Database update required message usually occurs if there has been a change to the database schema in a recent release. According to this changeset, there was such a change in the 6.7.1 release, which would have triggered the message and the required update.
I’ve also noticed the extra margin at the top of the admin dashboard after such an upgrade, but usually when I refresh the page it goes away. This is likely some whitespace being output during the upgrade.
- This reply was modified 1 year, 5 months ago by Jonathan Bossenger.
Forum: Plugins
In reply to: [Press This] Press This Not Pressing anythingHi @ashleysmith83 I tested this out today on a clean WordPress install, and it seems to be working as expected. I also tested it on my personal site.
Are you still experiencing any issues with the plugin?
I noticed that you’re working with some WooCommerce elements. I wonder if this is a WooCommerce related thing?
Are you able to replicate the set up with a vanilla WordPress install, no other plugins or themes?
- This reply was modified 1 year, 5 months ago by Jonathan Bossenger.
@inspired888 I tried to replicate this on a clean WordPress 6.7.1 install, running on the Apache web server with PHP 8.3.13
Installed and activated Query Monitor 3.16.4. Then installed and activated Debug Bar 1.1.6. I don’t see any errors logged.
You mentioned you have WP Debugger running, is this a separate plugin? Have you tried disabling it to see if the error persists?
Forum: Plugins
In reply to: [Debug Bar] WP 6.7 Translation loading issueA fix for this was worked on in this trac ticket, and shipped in WordPress 6.7.1. Are you able to confirm this fixed the issue, and mark this as resolved?
Forum: Developing with WordPress
In reply to: How could pass shipping tracking number to omnisendHi @inga00
If you’re looking for a code solution, this article from the Woo blog might help: https://woocommerce.com/posts/how-to-customize-emails-in-woocommerce/#creating-custom-templates-with-code
Hey @mikednz
Could I check, how are you currently enqueuing the script file that includes the JavaScript? This sounds to me like you are enqueing the script file before the menu is being rendered on the front end.
Forum: Developing with WordPress
In reply to: Api call in custom block@kamalkayani Indeed. As it states further down in those guidelines…
First up, some clarity. For the purposes of the Block Directory, we distinguish between two types of plugins:
- Plugins that exist solely to distribute a block.
- All other plugins, including those that bundle many independent blocks, plugins that contain blocks in addition to other functionality, and plugins with no blocks at all.
These guidelines apply specifically to the first type of plugin, which we’ll call here a Block Plugin. If your plugin is of the second type, then the further guidelines and restrictions do not apply to your work. All plugins, be they block-only or not, are required to comply with the Detailed Plugin Guidelines https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/.
In my opinion, because you need to store an API key for your block to work, that additional functionality pushes it outside of the constraints of a “Block Plugin” ie a plugin that exist solely to distribute a block, and into regular plugin territory.
- This reply was modified 2 years, 6 months ago by Jonathan Bossenger.
Forum: Developing with WordPress
In reply to: Api call in custom blockHi @kamalkayani.
Another way to do this is to use the internal WordPress HTTP API, to make requests to external APIs in PHP:
https://developer.wordpress.org/plugins/http-api/
For storing the API, please could you explain what you mean by “the block will not have access to the options”.Forum: Everything else WordPress
In reply to: Existing images show errorThank @gmeyers, I’m going to ask around and see if this is an error related to the core update or not.
I will get back to you here once I know more.
Forum: Localhost Installs
In reply to: PHP missing the MySQL extensionForum: Developing with WordPress
In reply to: connecting more variablesIt should output the euro symbol. Here is an example of it working on my site: https://tinyurl.com/ynssoaph
This was the code I used
$pulizia_esc = 'My Text'; $pulizia_esc = '<div class="pulizia_esc">' . $pulizia_esc . '€' . '</div>'; echo $pulizia_esc;To add a space between the two values, you can concatenate a space, again in quotation marks:
$pulizia_esc = get_the_author_meta( 'pulizia_esc', $post->post_author ) . ' ' . get_post_meta( $post->ID, "function_pulizia", true ) ;