Title: WordPress 4.2.3 broke my code
Last modified: August 30, 2016

---

# WordPress 4.2.3 broke my code

 *  [pappo87](https://wordpress.org/support/users/pappo87/)
 * (@pappo87)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-423-broke-my-code/)
 * After I upgraded to WP, custom content shortcode doesn’t display some fields.
   
   In a loop – [field image=picture return=url] doesn’t return the url of custom
   field image anymore. – [field url] doesn’t return the url of the post anymore
   title and custom text fields still work fine. Outside a loop [if pass='{FIELD}’
   empty=”false”]field={FIELD}&[/if] outputs on page withouth being processed. It
   is happening only to me?
 * [https://wordpress.org/plugins/custom-content-shortcode/](https://wordpress.org/plugins/custom-content-shortcode/)

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

1 [2](https://wordpress.org/support/topic/wordpress-423-broke-my-code/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/wordpress-423-broke-my-code/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/wordpress-423-broke-my-code/page/2/?output_format=md)

 *  [Mervin Praison](https://wordpress.org/support/users/mervinpraison/)
 * (@mervinpraison)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-423-broke-my-code/#post-6356512)
 * Broken mine also
 * I am using this plugin [https://wordpress.org/plugins/shortcode-exec-php/](https://wordpress.org/plugins/shortcode-exec-php/)
 * Shortcodes not working.
 *  Thread Starter [pappo87](https://wordpress.org/support/users/pappo87/)
 * (@pappo87)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-423-broke-my-code/#post-6356518)
 * [Link](https://grahamcluley.com/2015/07/wordpress-4-2-3-security-update/)
    They
   fixed shortcodes vulnerability, I think all plugins that use them need an update.
 *  [Peter Berger](https://wordpress.org/support/users/peterpolow/)
 * (@peterpolow)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-423-broke-my-code/#post-6356519)
 * Broke mine to, but not all the shortcodes. Only the URL shortcodes ([field url]
   and custom ACF url field).
 *  [Jerrad](https://wordpress.org/support/users/jjgleim/)
 * (@jjgleim)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-423-broke-my-code/#post-6356533)
 * Mine are broken too.
 *  [Kabir](https://wordpress.org/support/users/prasanthscorpion/)
 * (@prasanthscorpion)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-423-broke-my-code/#post-6356549)
 * Yes my ACF short-code also not working due to this update. What should i do now.
 *  [dino_fossil](https://wordpress.org/support/users/dino_fossil/)
 * (@dino_fossil)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-423-broke-my-code/#post-6356561)
 * My shortcode for images has been broken as well. All other shortcode for content
   type fields work fine.
 *  [msallin](https://wordpress.org/support/users/msallin/)
 * (@msallin)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-423-broke-my-code/#post-6356572)
 * Argh, me too. 4.2.3 broke my Theme (Themify’s Landing)
 * I think I’m going to install the previous version, 4.2.2 (found in the [archive](https://wordpress.org/download/release-archive/)).
   Any reason why I shouldn’t do this? I’m new to all this.
 * Also, I installed the [Easy Updates Manager plugin](https://wordpress.org/plugins/stops-core-theme-and-plugin-updates/)
   and disabled all automatic updates so this won’t happen again. Again, any advice
   on why this would be a bad idea is appreciated.
 *  [Dave Navarro, Jr.](https://wordpress.org/support/users/dnavarrojr/)
 * (@dnavarrojr)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-423-broke-my-code/#post-6356577)
 * I ended up just writing my own shortcode to create a link from an ACF field as
   a temporary fix:
 *     ```
       function sc_podcast_link( $atts ) {
         extract( shortcode_atts( array(
           'field' => 'mp3_file',
           'text'  => '',
           ), $atts ) );
   
         $fval = get_field( $field );
         if ( empty( $text ) ) {
           $text = get_the_date( 'l, F d, Y' );
         }
   
         return '<a href="' . $fval . '">' . $text . '</a>';
       }
       add_shortcode( 'podcast_link', 'sc_podcast_link' );
       ```
   
 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-423-broke-my-code/#post-6356578)
 * Hello, I’m looking into this issue to see what needs to be fixed to be compatible
   with WP 4.2.3. So far, I’m also getting perplexing results with shortcodes either
   not being run or disappearing(?). Thanks for your patience, and I’ll make an 
   update as soon as I figure out what the problem is.
 *  [Dave Navarro, Jr.](https://wordpress.org/support/users/dnavarrojr/)
 * (@dnavarrojr)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-423-broke-my-code/#post-6356581)
 * [https://core.trac.wordpress.org/ticket/15694#comment:24](https://core.trac.wordpress.org/ticket/15694#comment:24)
 * It’s a bug in the release of 4.2.3, some mods to “do_shortcode” got included 
   when they shouldn’t have.
 *  [Julie](https://wordpress.org/support/users/habannah/)
 * (@habannah)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-423-broke-my-code/#post-6356582)
 * Thanks Eliot! I’m also experiencing issues. So far I’ve noticed that edit-url
   isn’t working, nor {TERM_ID} when using the pass shortcode, _if_ the output is
   a url. If the output is simple text, then it’s working fine.
 * [@msallin](https://wordpress.org/support/users/msallin/), this was a security
   update, so it’s best not to revert to a previous version, IMO…
 *  [girlbot](https://wordpress.org/support/users/injira/)
 * (@injira)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-423-broke-my-code/#post-6356595)
 * Can WP actually roll this change back to give theme and plugin developers adequate
   time to adjust their code? Perhaps a patch or an optional beta-update for folks
   who are stuck in this situation?
 *  [Dave Navarro, Jr.](https://wordpress.org/support/users/dnavarrojr/)
 * (@dnavarrojr)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-423-broke-my-code/#post-6356596)
 * > [Changes to the Shortcode API](https://make.wordpress.org/core/2015/07/23/changes-to-the-shortcode-api/)
 * Basically, what it comes down to is they don’t like how we played with our toys
   in their sandbox, so they put a stop to it.
 * This is permanent and a crappy way to handle updates.
 *  Thread Starter [pappo87](https://wordpress.org/support/users/pappo87/)
 * (@pappo87)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-423-broke-my-code/#post-6356599)
 * I hope they will roll back this change. It was so handy to write codes in tags
   like we did. Writing a page in pure php is so much harder and lots of plugins
   won’t have reason to exist anymore. I bet half of wordpress sites have to be 
   rewritten now.
    Is 4.2.2 really unsecure or can be used, atleast in the short
   term?
 *  [thatguy334233](https://wordpress.org/support/users/thatguy334233/)
 * (@thatguy334233)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-423-broke-my-code/#post-6356600)
 * please read my referred comment in track:
    [https://core.trac.wordpress.org/ticket/15694#comment:34](https://core.trac.wordpress.org/ticket/15694#comment:34)
 * I highly suspect no action will be taken here by “WP itself”, so it’s now up 
   to “the community”
 * We can (as community) ask for 2 things:
 * – Stop auto-updates (it’s a free world after all)
    – Provide backwards (secure)
   compatibility for this famous “API Update”: [https://make.wordpress.org/core/tag/shortcodes/](https://make.wordpress.org/core/tag/shortcodes/)(
   which I believe is not a planned API Update but a bare mistake)
 * Since WP is a open community, I think it could be possible to achieve this.

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

1 [2](https://wordpress.org/support/topic/wordpress-423-broke-my-code/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/wordpress-423-broke-my-code/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/wordpress-423-broke-my-code/page/2/?output_format=md)

The topic ‘WordPress 4.2.3 broke my code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-shortcode_766976.svg)
 * [Custom Content Shortcode](https://wordpress.org/plugins/custom-content-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-shortcode/reviews/)

 * 45 replies
 * 21 participants
 * Last reply from: [rrhobbs](https://wordpress.org/support/users/rrhobbs/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/wordpress-423-broke-my-code/page/3/#post-6356864)
 * Status: not resolved