[wp-trac] [WordPress Trac] #27977: jetpack_subscription_form shortcode not working in Multisite Jetpack 2.9.3

WordPress Trac noreply at wordpress.org
Tue Apr 22 18:18:48 UTC 2014


#27977: jetpack_subscription_form shortcode not working in Multisite Jetpack 2.9.3
--------------------------+-----------------------------
 Reporter:  bi0xid        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Shortcodes    |    Version:  3.9
 Severity:  normal        |   Keywords:
  Focuses:  multisite     |
--------------------------+-----------------------------
 Hello there.

 I have tried to use `[jetpack_subscription_form]` in a WP Multistite and
 it results in a blank space.
 I have tested it with WP 3.8.3 Multisite and WP 3.9 Multisite, with the
 same result.

 The archive in `jetpack/modules/subscriptions.php` has a call to
 `the_widget( ‘Jetpack_Subscriptions_Widget’, $args );`. I have tried to
 get the content, and the result in WP Multisite is `NULL`.

 If you try to see if there is $args, you have a complete response:

 {{{
 array(5) {
 ["title"]=> string(43) “Suscríbete al blog por correo electrónico”
 ["subscribe_text"]=> string(106) “Introduce tu correo electrónico para
 suscribirte a este blog y recibir notificaciones de nuevas entradas.”
 ["subscribe_button"]=> string(9) “Suscribir”
 ["subscribe_logged_in"]=> string(105) “Haz clic para suscribirte a este
 blog y recibe notificaciones de nuevas entradas por correo electrónico.”
 ["show_subscribers_total"]=> bool(false)
 }
 }}}

 I have tested it with Jetpack 3.0-beta1 too.
 With a  WP 3.9 and WP 4.0-alpha with a single installation it works. If
 you use it in a multisite, almost everything is broken, including this
 shortcode.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27977>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list