Title: flymike's Replies | WordPress.org

---

# flymike

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/users/flymike/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/flymike/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Control - The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More] Restricting Content which is a Page with a Category](https://wordpress.org/support/topic/restricting-content-which-is-a-page-with-a-category/)
 *  Thread Starter [flymike](https://wordpress.org/support/users/flymike/)
 * (@flymike)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/restricting-content-which-is-a-page-with-a-category/#post-17918252)
 * Not the answer I was hoping for, but thorough and complete – and I thank you 
   for it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Responsive Slider Gallery - Responsive Image Photo Slider] Images cropped when window shrinks](https://wordpress.org/support/topic/images-cropped-when-window-shrinks/)
 *  Thread Starter [flymike](https://wordpress.org/support/users/flymike/)
 * (@flymike)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/images-cropped-when-window-shrinks/#post-17393708)
 * Fit Slides Cover is already checked.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Subscribe2 - Form, Email Subscribers & Newsletters] programatically updated post does not resend emails](https://wordpress.org/support/topic/programatically-updated-post-does-not-resend-emails/)
 *  Thread Starter [flymike](https://wordpress.org/support/users/flymike/)
 * (@flymike)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/programatically-updated-post-does-not-resend-emails/#post-14972063)
 * Answering my own question: the secret is `wp_transition_post_status(’publish’,'
   draft')`
 * Just have to get the parameters the right way round…
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Change URI query string while processing shortcode](https://wordpress.org/support/topic/change-uri-query-string-while-processing-shortcode/)
 *  Thread Starter [flymike](https://wordpress.org/support/users/flymike/)
 * (@flymike)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/change-uri-query-string-while-processing-shortcode/#post-14054894)
 * My apologies. I missed that point completely. I’ll research [that](https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState).
 * Thanks again.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Change URI query string while processing shortcode](https://wordpress.org/support/topic/change-uri-query-string-while-processing-shortcode/)
 *  Thread Starter [flymike](https://wordpress.org/support/users/flymike/)
 * (@flymike)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/change-uri-query-string-while-processing-shortcode/#post-14054865)
 * Thanks. I realize I can reload the page without the query string using JS but,
   if I do that, the user will never get chance to see the status message which 
   I present on the original page.
 * To clarify, I present a **status** message when the state is changed, but a **
   warning** message if the user subsequently attempts to change the state again.
 * Maybe one solutions is a 5 second delay before the JS reloads the page, so that
   the user can briefly see the status message. But that seems a bit of a hack…
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [<link rel='stylesheet' being converted to inline css](https://wordpress.org/support/topic/link-relstylesheet-being-converted-to-inline-css/)
 *  Thread Starter [flymike](https://wordpress.org/support/users/flymike/)
 * (@flymike)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/link-relstylesheet-being-converted-to-inline-css/#post-12466336)
 * Answering my own question…
    It is not some WordPress plugin – but Chrome (80.0.3987.87)
   which is converting my linked stylesheet to inline style.
 * And I assume this is because I have the linked stylesheet within the HTML document**
   body**, instead of within the **head**. This was not supported at all in HTML
   4, but is allowed, though not recommended, in HTML 5.
 * Firefox 72.0.2 appears to fully support linked stylesheets within the body, but
   Chrome converts to inline.
 * I worked around the problem by using `<style>@import url("my-stylesheet");</style
   >`
 * And, finally – it mattered – because I was using [@media](https://wordpress.org/support/users/media/)
   to control style when printing, and [@media](https://wordpress.org/support/users/media/)
   is not available for inline styles.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Subscribe2 - Form, Email Subscribers & Newsletters] Registered Subscribers page not showing individual user’s subscribed categories](https://wordpress.org/support/topic/registered-subscribers-page-not-showing-individual-users-subscribed-categories/)
 *  Thread Starter [flymike](https://wordpress.org/support/users/flymike/)
 * (@flymike)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/registered-subscribers-page-not-showing-individual-users-subscribed-categories/#post-12107063)
 * The light dawns! Thanks again for your patience & understanding.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Subscribe2 - Form, Email Subscribers & Newsletters] Registered Subscribers page not showing individual user’s subscribed categories](https://wordpress.org/support/topic/registered-subscribers-page-not-showing-individual-users-subscribed-categories/)
 *  Thread Starter [flymike](https://wordpress.org/support/users/flymike/)
 * (@flymike)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/registered-subscribers-page-not-showing-individual-users-subscribed-categories/#post-12105046)
 * I appreciate your patience, and I see the confusion.
    So, I’m on the _privileged_
   Subscribers page, and therefore in admin/subscribers.php and _not_ admin/your-
   subscriptions.php. That is, as an administrator, I’m setting or reviewing subscriptions
   of others – not myself. And I’m trying to display the current subscriptions of
   some other particular user – by using the Search box. So, because I’m in admin/
   subscribers.php, display_category_form() is called from line 310 of admin/subscribers.
   php, and not via s2_your_subscription_form(). So now I think I must have imagined
   that existing subscriptions were ever displayed. Instead, is it that the behavior
   of this (administrator’s) form is to blindly either subscribe or unsubscribe 
   a category, without ever actually showing its status?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Subscribe2 - Form, Email Subscribers & Newsletters] Registered Subscribers page not showing individual user’s subscribed categories](https://wordpress.org/support/topic/registered-subscribers-page-not-showing-individual-users-subscribed-categories/)
 *  Thread Starter [flymike](https://wordpress.org/support/users/flymike/)
 * (@flymike)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/registered-subscribers-page-not-showing-individual-users-subscribed-categories/#post-12088691)
 * I’m not multisite, and I’ve refreshed from your github site.
    When display_category_form()
   is called from line 310 of admin/subscribers.php, the $categories array is empty.
   BUT the (registered) email address (successfully) searched on is subscribed to
   at least one category. Can you point me to where the $categories array is initialized
   for the searched-on subscriber?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Subscribe2 - Form, Email Subscribers & Newsletters] Registered Subscribers page not showing individual user’s subscribed categories](https://wordpress.org/support/topic/registered-subscribers-page-not-showing-individual-users-subscribed-categories/)
 *  Thread Starter [flymike](https://wordpress.org/support/users/flymike/)
 * (@flymike)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/registered-subscribers-page-not-showing-individual-users-subscribed-categories/#post-12034702)
 * Sorry, I had to travel. I’ll look at the problem again in November.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Subscribe2 - Form, Email Subscribers & Newsletters] Registered Subscribers page not showing individual user’s subscribed categories](https://wordpress.org/support/topic/registered-subscribers-page-not-showing-individual-users-subscribed-categories/)
 *  Thread Starter [flymike](https://wordpress.org/support/users/flymike/)
 * (@flymike)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/registered-subscribers-page-not-showing-individual-users-subscribed-categories/#post-12016966)
 * I’m on 10.30.1.
    I have PHP skill. Can you point me to relevant component? I’ll
   try to figure out what’s wrong.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Subscribe2 - Form, Email Subscribers & Newsletters] emails going to every registered user, regardless of post category](https://wordpress.org/support/topic/emails-going-to-every-registered-user-regardless-of-post-category/)
 *  Thread Starter [flymike](https://wordpress.org/support/users/flymike/)
 * (@flymike)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/emails-going-to-every-registered-user-regardless-of-post-category/#post-8552542)
 * But a post notification to who? If notification is being determined by category
   and no category is available?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Subscribe2 - Form, Email Subscribers & Newsletters] emails going to every registered user, regardless of post category](https://wordpress.org/support/topic/emails-going-to-every-registered-user-regardless-of-post-category/)
 *  Thread Starter [flymike](https://wordpress.org/support/users/flymike/)
 * (@flymike)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/emails-going-to-every-registered-user-regardless-of-post-category/#post-8549419)
 * I have found that the cause of wp_get_object_terms() in line 402 of class-s2-
   core.php returning an array with zero items was caused by an interaction between
   WP 4.7 and an unrelated plugin.
    But the issue with S2 remains. wp_get_object_terms()
   can legitimately return an empty array and, in that case, S2’s get_registered()
   when called with format=html will return an array of the majority of registered
   users – when it should return an empty array. In my case, a confidential post
   intended for a handful of users was sent to almost 700 users. My client was NOT
   happy!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Theme My Login] /login not recognized after PHP 7](https://wordpress.org/support/topic/login-not-recognized-after-php-7/)
 *  Thread Starter [flymike](https://wordpress.org/support/users/flymike/)
 * (@flymike)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/login-not-recognized-after-php-7/#post-8481274)
 * Duh! Did not only migrate to PHP 7, but also to Ubuntu 16.04. And mod-rewrite
   was not enabled in Apache: sudo a2enmod rewrite
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Timely All-in-One Events Calendar] Excerpts mangled in Posterboard View](https://wordpress.org/support/topic/excerpts-mangled-in-posterboard-view/)
 *  Thread Starter [flymike](https://wordpress.org/support/users/flymike/)
 * (@flymike)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/excerpts-mangled-in-posterboard-view/#post-6412876)
 * Click [here](http://old.sarasotasailingsquadron.org/membership/big-calendar/action~posterboard/request_format~html/cat_ids~5/)
   and look for the “69th Annual Labor Day Regatta ” event. The excerpt is shown
   as plain text.
    Now click [here](http://sarasotasailingsquadron.org/calendar/racing/)
   and look for the same event. The excerpt is formatted as a list with links. The
   actual event content is the same in both cases – it contains html markup for 
   the list and links. But the second one displays the excerpt formatted as a list
   with links because I have patched AI1EC to NOT call strip_tags() on the excerpt
   text.

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/users/flymike/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/flymike/replies/page/2/?output_format=md)