Title: upgrading &#8211; get_shortcode_regex() missing
Last modified: August 19, 2016

---

# upgrading – get_shortcode_regex() missing

 *  [nomoregrapes](https://wordpress.org/support/users/nomoregrapes/)
 * (@nomoregrapes)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/upgrading-get_shortcode_regex-missing/)
 * I tried upgrading to the latest version and now my site gets the template and
   in place of the blog post says:
 * Fatal error: Call to undefined function get_shortcode_regex() in /home/nomoscom/
   public_html/livingwithdragons/wp-includes/formatting.php on line 95
 * Please help me fix this or I’m going to have to rol back and probably won’t bother
   upgrading for some time.
    I’m guessing this post makes sense in Installing though
   I could of posted in Troubleshooting

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [susanandbobby](https://wordpress.org/support/users/susanandbobby/)
 * (@susanandbobby)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/upgrading-get_shortcode_regex-missing/#post-749158)
 * I’m having the same issue. Gotta be a bug in it.
 *  [poekie](https://wordpress.org/support/users/poekie/)
 * (@poekie)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/upgrading-get_shortcode_regex-missing/#post-749175)
 * Indeed.
 * I commented out the line (95) in wp-admin/formatting.php and it now works fine.
   I compared it to a previous version, and it was a new line, so probably no big
   impact
 *  Thread Starter [nomoregrapes](https://wordpress.org/support/users/nomoregrapes/)
 * (@nomoregrapes)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/upgrading-get_shortcode_regex-missing/#post-749201)
 * I tried using my old file (2.3) formatting.php.
    The site now works but the wp-
   admin doesnt show any page at all.
 * Tried changing formatting.php to 2.5.1 version again but with line 95 commented
   out. Same as old file, I can’t get to my admin.
    what are short-codes? I think
   I may use them in a few posts.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/upgrading-get_shortcode_regex-missing/#post-749210)
 * See if this helps:
    [http://wordpress.org/support/topic/171849?replies=5#post-743662](http://wordpress.org/support/topic/171849?replies=5#post-743662)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘upgrading – get_shortcode_regex() missing’ is closed to new replies.

## Tags

 * [upgrading](https://wordpress.org/support/topic-tag/upgrading/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 4 replies
 * 4 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/upgrading-get_shortcode_regex-missing/#post-749210)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
