[wp-trac] [WordPress Trac] #28479: plugin shortcode invoked on one page causes other webpage plugin shortcode to also be invoked

WordPress Trac noreply at wordpress.org
Sat Jun 7 13:40:42 UTC 2014


#28479: plugin shortcode invoked on one page causes other webpage plugin shortcode
to also be invoked
-----------------------------+------------------------------
 Reporter:  WordPressMystic  |       Owner:
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Plugins          |     Version:  3.9.1
 Severity:  normal           |  Resolution:  invalid
 Keywords:                   |     Focuses:
-----------------------------+------------------------------
Changes (by jdgrimes):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 It sounds to me like your first shortcode is invoking a request to the
 second page. If you can't think what in your code is causing this, you
 could try returning from your first shortcode's function early, and that
 will help you to isolate the problem code. By moving the `return` around,
 you will be able to see what part of the code causes this behavior.

 I'm going to close this, but you are welcome to reopen it once you have
 identified the problem, if it does turn out to be an issue in WordPress
 core.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28479#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list