Comments for WebDevStudios https://webdevstudios.com/ WordPress Design and Development Agency Thu, 12 Sep 2024 09:58:49 +0000 hourly 1 https://wordpress.org/?v=6.6.2 Comment on Tools to Boost Remote Work Productivity by Lindsey John https://webdevstudios.com/2019/03/19/tools-to-boost-remote-work-productivity/#comment-195221 Thu, 12 Sep 2024 09:58:49 +0000 https://webdevstudios.com/?p=20311#comment-195221 Great post on boosting remote work productivity! The tools and strategies you’ve highlighted are essential for maintaining efficiency and collaboration in a remote environment. I particularly appreciate the emphasis on integrating communication tools and project management software, as they play a crucial role in keeping teams aligned and on track.

]]>
Comment on Embracing the Future: How WebDevStudios Is Leading with WordPress Block Themes by Lisa Sabin-Wilson https://webdevstudios.com/2024/08/26/webdevstudios-wordpress-block-themes/#comment-194904 Tue, 10 Sep 2024 17:11:12 +0000 https://webdevstudios.com/?p=27512#comment-194904 In reply to Jeff Carter.

Good to hear from you, Jeff! Thanks for the note – we’re pretty excited about these modern features in WordPress and the work on this block theme has been fueled by that excitement, for sure.

]]>
Comment on Embracing the Future: How WebDevStudios Is Leading with WordPress Block Themes by Jeff Carter https://webdevstudios.com/2024/08/26/webdevstudios-wordpress-block-themes/#comment-192526 Thu, 29 Aug 2024 15:20:43 +0000 https://webdevstudios.com/?p=27512#comment-192526 This is really smart. I love how the theme fully integrates with the Block Editor and Site Editor. More great work from WDS. Congrats!

]]>
Comment on Debugging React with VS Code and Chrome by Svein Ove https://webdevstudios.com/2023/07/06/debugging-react-with-vs-code-and-chrome/#comment-191181 Tue, 27 Aug 2024 14:25:07 +0000 https://webdevstudios.com/?p=26056#comment-191181 Thank you sir,

Haven’t done webdev in years, completely forgotten about the webroot issue when debugging.
Saved my bacon, thanks!

]]>
Comment on Using WP_HTML_Tag_Processor: What You Need to Know by Dennis Snell https://webdevstudios.com/2024/08/13/using-wp-html-tag-processor/#comment-190111 Tue, 20 Aug 2024 22:18:26 +0000 https://webdevstudios.com/?p=27365#comment-190111 Hello Ramsés,

Thanks for sharing the article. One thing I always like pointing out is that even with all that code for your PCRE-based approach, it’s still wrong.

In fact, the DOMDocument approach is also broken. A trivial case to see this is if that example HTML is placed inside a TEXTAREA element, as even DOMDocument will falsely identify tags in there (PHP 8.4 with \DOM\HtmlDocument will help this). Worse still, DOMDocument will corrupt documents it doesn’t understand and remove legitimate content, injecting potential security exploits. These are just two small examples among thousands.

So why go through all the effort and pain and manual work just to find out that it’s still vulnerable?

Something is unexpected in your timings. In my own benchmarks I’ve found that the Tag Processor is roughly 50% faster than DOMDocument. I wonder what’s different. Please reach out if you’d like to examine deeper.

There appear to be a few extraneous escaping characters in this blog post. One example shows two slashes when creating the Tag Processor for the root-level namespace, but only one belongs. Similarly, some of the PCRE patterns have extra backslashes.

If you haven’t seen them already, you’ll probably love what’s coming in WordPress 6.7 and 6.8 in the HTML Processor.

]]>
Comment on Retroactively Sign Git Commits by Noam https://webdevstudios.com/2020/05/26/retroactively-sign-git-commits/#comment-189483 Sun, 18 Aug 2024 09:26:56 +0000 https://webdevstudios.com/?p=21957#comment-189483 This was a life saver, very easy to follow, thank you!

]]>
Comment on Adding BuddyPress Custom Pages to Profiles by Noah Winkelman https://webdevstudios.com/2016/03/17/buddypress-custom-pages/#comment-181720 Mon, 15 Jul 2024 08:07:05 +0000 http://webdevstudios.com/?p=12563#comment-181720 In reply to Adam.

function bp_custom_user_nav_items() {
global $bp;

// First custom nav item
$args1 = array(
‘name’ => __(‘My events’, ‘buddypress’),
‘slug’ => ‘my-events’,
‘default_subnav_slug’ => ‘events’,
‘position’ => 50,
‘show_for_displayed_user’ => false,
‘screen_function’ => ‘bp_custom_user_nav_item_screen’,
‘item_css_id’ => ‘my-events’
);
bp_core_new_nav_item( $args1 );

// Second custom nav item
$args2 = array(
‘name’ => __(‘My second page’, ‘buddypress’),
‘slug’ => ‘my-second-page’,
‘default_subnav_slug’ => ‘second-page’,
‘position’ => 60,
‘show_for_displayed_user’ => false,
‘screen_function’ => ‘bp_custom_second_nav_item_screen’,
‘item_css_id’ => ‘my-second-page’
);
bp_core_new_nav_item( $args2 );

// Third custom nav item
$args3 = array(
‘name’ => __(‘My third page’, ‘buddypress’),
‘slug’ => ‘my-third-page’,
‘default_subnav_slug’ => ‘third-page’,
‘position’ => 70,
‘show_for_displayed_user’ => false,
‘screen_function’ => ‘bp_custom_third_nav_item_screen’,
‘item_css_id’ => ‘my-third-page’
);
bp_core_new_nav_item( $args3 );
}
add_action( ‘bp_setup_nav’, ‘bp_custom_user_nav_items’, 99 );

function bp_custom_user_nav_item_screen() {
add_action( ‘bp_template_content’, ‘bp_custom_screen_content’ );
bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );
}

function bp_custom_second_nav_item_screen() {
add_action( ‘bp_template_content’, ‘bp_custom_second_screen_content’ );
bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );
}

function bp_custom_third_nav_item_screen() {
add_action( ‘bp_template_content’, ‘bp_custom_third_screen_content’ );
bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );
}

function bp_custom_screen_content() {
echo ‘[tribe-user-event-confirmations]’;
}

function bp_custom_second_screen_content() {
echo ‘Content for my second page’;
}

function bp_custom_third_screen_content() {
echo ‘Content for my third page’;
}

]]>
Comment on WebDevStudios Welcomes Jen Miller to the Team by Richard Mayer https://webdevstudios.com/2024/05/09/jen-miller-team/#comment-176782 Thu, 09 May 2024 20:29:00 +0000 https://webdevstudios.com/?p=27244#comment-176782 Nice introduction for a person that will definitely be an asset to WebDev. Congratulations on retaining Jen Miller for your Director of Accounts.

]]>
Comment on 6 Helpful WordPress Security Tips by Lindsey John https://webdevstudios.com/2024/02/15/6-helpful-wordpress-security-tips/#comment-174333 Mon, 01 Apr 2024 08:20:40 +0000 https://webdevstudios.com/?p=26991#comment-174333 Great article! These WordPress security tips are spot on and easy to implement. Keeping our websites safe is paramount, and these practical suggestions make it a breeze. Thanks for sharing this valuable advice!

]]>
Comment on Traditional Versus Headless WordPress by Shikha Sharma https://webdevstudios.com/2024/03/14/traditional-versus-headless-wordpress/#comment-173123 Tue, 19 Mar 2024 05:23:06 +0000 https://webdevstudios.com/?p=27083#comment-173123 Nice post…
I have no more idea about it. But to read this post is beneficial for me. This post carries such amazing knowledge about WordPress.

]]>