Title: BramNL's Replies | WordPress.org

---

# BramNL

  [  ](https://wordpress.org/support/users/bramnl/)

 *   [Profile](https://wordpress.org/support/users/bramnl/)
 *   [Topics Started](https://wordpress.org/support/users/bramnl/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bramnl/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bramnl/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bramnl/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bramnl/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bramnl/favorites/)

 Search replies:

## Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Social Sharing Toolkit] "/> characters showing on blog pages](https://wordpress.org/support/topic/characters-showing-on-blog-pages/)
 *  [BramNL](https://wordpress.org/support/users/bramnl/)
 * (@bramnl)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/characters-showing-on-blog-pages/#post-4233849)
 * I think you found this bug I just reported: wordpress.org/support/topic/bugfix-
   ogdescription-needs-escaping (still being reviewed atm.
 * To fix this, edit social_sharing_toolkit.php and replace line 569:
    <meta property
   =”og:description” content=”‘ . $excerpt . ‘”/>’;
 * with:
    <meta property=”og:description” content=”‘ . htmlspecialchars($excerpt).‘”/
   >’;
 * (so you add the htmlspecialchars() around $excerpt).
 * Please let me know if this fixed it.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[HTML Editor Syntax Highlighter] Great, but needs some options](https://wordpress.org/support/topic/great-but-needs-some-options/)
 *  Thread Starter [BramNL](https://wordpress.org/support/users/bramnl/)
 * (@bramnl)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/great-but-needs-some-options/#post-7776761)
 * It is. Thanks, Petr!
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[HTML Editor Syntax Highlighter] Great, but needs some options](https://wordpress.org/support/topic/great-but-needs-some-options/)
 *  Thread Starter [BramNL](https://wordpress.org/support/users/bramnl/)
 * (@bramnl)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/great-but-needs-some-options/#post-7776759)
 * That’s great. Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Syntax] Cache support for massive speed boost via this patch](https://wordpress.org/support/topic/patch-cache-support-for-massive-speed-boost/)
 *  [BramNL](https://wordpress.org/support/users/bramnl/)
 * (@bramnl)
 * [13 years ago](https://wordpress.org/support/topic/patch-cache-support-for-massive-speed-boost/#post-3556473)
 * I never thanked you.
    Thank you 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Fatal error with WP Native Dashboard Plugin 3.6 upgrade](https://wordpress.org/support/topic/fatal-error-after-36-upgrade/)
 *  [BramNL](https://wordpress.org/support/users/bramnl/)
 * (@bramnl)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-after-36-upgrade/#post-3984899)
 * Can you post the solution? You’re not the only one reading here 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Syntax] Cache support for massive speed boost via this patch](https://wordpress.org/support/topic/patch-cache-support-for-massive-speed-boost/)
 *  [BramNL](https://wordpress.org/support/users/bramnl/)
 * (@bramnl)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/patch-cache-support-for-massive-speed-boost/#post-3556461)
 * Is the patch gone?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[If Menu - Visibility control for Menus] plugin custom logic](https://wordpress.org/support/topic/plugin-custom-logic/)
 *  [BramNL](https://wordpress.org/support/users/bramnl/)
 * (@bramnl)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-custom-logic/#post-3827767)
 * The key is that you guys missed the **return $conditions;**. This is a flaw in
   the FAQ.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[If Menu - Visibility control for Menus] Customized roles](https://wordpress.org/support/topic/customized-roles/)
 *  [BramNL](https://wordpress.org/support/users/bramnl/)
 * (@bramnl)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/customized-roles/#post-3672176)
 * The example in the FAQ is fairly incomplete.
 * You could add the following to the functions.php of your (child) theme:
 *     ```
       add_filter( 'if_menu_conditions', 'my_new_menu_conditions' );
       function my_new_menu_conditions( $conditions ) {
           $conditions[] = array(
               'name'      =>  'If single custom-post-type',   // name of the condition
               'condition' =>  function() {                    // callback - must return TRUE or FALSE
                   return is_singular( 'my-custom-post-type' );
               }
           );
   
       	return $conditions;
       }
       ```
   
 * Note about the “return $conditions;”. That one is missing in the example but 
   is very important!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[If Menu - Visibility control for Menus] Need s statement to detect if user has a blog created on the network](https://wordpress.org/support/topic/need-s-statement-to-detect-if-user-has-a-blog-created-on-the-network/)
 *  [BramNL](https://wordpress.org/support/users/bramnl/)
 * (@bramnl)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/need-s-statement-to-detect-if-user-has-a-blog-created-on-the-network/#post-3435076)
 * Your question is far from clear about what you’re exactly looking for. That might
   be the reason why everybody ignored you.
 * Can you explain what you wanted? Please use full sentences.
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Menu shouldn't show draft pages](https://wordpress.org/support/topic/menu-shouldnt-show-draft-pages/)
 *  [BramNL](https://wordpress.org/support/users/bramnl/)
 * (@bramnl)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/menu-shouldnt-show-draft-pages/#post-3677324)
 * I think what he asks is that if a menu item links to a page that has the status‘
   draft’, the menu item itself should be hidden for the public also.
 * Is that possible?
 * [edit]
    Also, that checkbox you mention, works only for top-level menu items.
   It is actually a kinda dangerous checkbox if you tend to forget to set the parent
   page for a new page. Especially because it doesn’t remove the menu item after
   you have “fixed” the forgotten parent page setting.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HTML Editor Syntax Highlighter] is stays above the text edited](https://wordpress.org/support/topic/is-stays-above-the-text-edited/)
 *  [BramNL](https://wordpress.org/support/users/bramnl/)
 * (@bramnl)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/is-stays-above-the-text-edited/#post-3556460)
 * What do you mean “Above the text” ?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YARPP - Yet Another Related Posts Plugin] Disable "Help make YARPP better" banner](https://wordpress.org/support/topic/disable-help-make-yarpp-better-banner/)
 *  Thread Starter [BramNL](https://wordpress.org/support/users/bramnl/)
 * (@bramnl)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/disable-help-make-yarpp-better-banner/#post-3621474)
 * I understand what you are saying and I normally don’t mind sending statistics,
   but with this site I can’t.
 * So enabling the option you mentioned is no solution for me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Blog Copier] Sub site URL path "/" missing after 3.5.1 update](https://wordpress.org/support/topic/sub-site-missing-after-351-update/)
 *  [BramNL](https://wordpress.org/support/users/bramnl/)
 * (@bramnl)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/sub-site-missing-after-351-update/#post-3420902)
 * I can confirm this issue exists. In the database the blog path is missing the
   leading slash.

Viewing 13 replies - 1 through 13 (of 13 total)