Welcome Pointer will not stay gone.
-
Hi there, small bug, so I made this easy for you: the Welcome pointer in Admin for the Content Feeds button will not go away.
I sat down and started to debug it, (woot! commented Javascript. Oh, maybe you should minify that) and I suddenly realized that just this once the relationship goes the other way from the norm! We report a bug to you and you fix it instead of us hearing about something from someone and having assign someone to fix it based on a terrible write up like this one!
Bad news is: We have only installed it on one site, so we don’t have the ability to tell you too much, and to make matters worse there is a lot of kruft on that site. Maybe you could one-off a copy of the plugin without that entire bit of script. Set “if(TRUE)” and package it up. We’ve seen it, know that the button is there, and would just like to see the three buttons below yours more often.
/** * Welcome ppinter **/ /** Check that pointer support exists AND that text is not empty */ if(typeof(jQuery().pointer) != 'undefined' && repost_content_ajax_object.pointers.length) { for (var p in repost_content_ajax_object.pointers) { var ptr = repost_content_ajax_object.pointers[p]; jQuery(ptr.pointerTarget).pointer({ content : ptr.pointerText, close : function() { jQuery.post( ajaxurl, { pointer: ptr.pointerHandle, action: 'dismiss-wp-pointer' }); } }).pointer('open'); } }Thanks again, and if you contact me I’ll dig up more detail. The debugger I was using was freezing when I stepped up to the most interesting lines.
Kurt
DynamicMarketConcepts
The topic ‘Welcome Pointer will not stay gone.’ is closed to new replies.