Deprecation is…
status applied to features, characteristics, or practices to indicate that they should be avoided, typically because they have been superseded.
In other words, attribute_escape
has been replaced by esc_attr
.
Any time you use a deprecated function WordPress triggers the error you’re seeing. Somewhere in your codebase a deprecated function is being used.
To fix the error, you need to locate where attribute_escape
is in your code. It won’t be in the WordPress core as deprecated function calls are removed.
So, search your entire wp-content
directory for attribute_escape
. When you find it, replace it with esc_attr
. I would use the command like ack-grep
for this.
$ cd /path/to/your/wordpress/install/wp-content
$ ack-grep attribute_escape
But any filesystem search will probably work just fine.
Related Posts:
- How to end the excerpt with a sentence rather than a word?
- How to automatically generate a unique random slug
- How does filter the_posts work?
- Querying post from a multisite network
- Publish pending article from front end with a button?
- Invalid Post Type error when attempting to filter and Bulk Edit posts
- How can I export WordPress posts’ attachments?
- Restrict the Number of Posts an Author can Publish (over time)?
- How do I convert a mathematical Microsoft Word document to a WordPress blog post?
- Only display posts with comments
- How to update all post at once?
- Which file displays the date archive?
- Force update all posts in custom post type, no content changes
- Add custom field to category of custom post type
- Change post format using custom field
- Plugin for sortable posts in grid [closed]
- How to Customize number of blog posts on first page?
- Load posts into sidebar and paginate via ajax?
- How to intercept Post Title on Post-Save
- Display Latest Post from all Categories
- WordPress theme ajax have_posts()
- Custom Theme Want To Remove One Category From All Displays
- Instead of submiting an entire post, is there any way to submit a lite-post or a simple message?
- How do I use Ajax to show the new posts realtime, on the frontpage
- Allow anonymous users to post to my site for moderation
- How Can i Get 5 Recent Post Title With Corresponding Link?
- WP_Query posts_per_page ignored
- Easy way to delete 70k posts and attached media?
- wp_insert_post works, but the post isn’t visible in the admin post list or front end
- Remove arrows from previous and next link
- XML-RPC and post_date
- wp_tag_cloud() and the_taxonomies() work but not the_tag()
- Define a wordpress constant through plugin functions?
- Show all posts in sidebar in single.php
- Split WordPress Latest Posts in Multiple Columns and Rows with one single loop [closed]
- How to display data in archive page?
- recent posts for different categories
- Drag posts and pages so you can sort them in order
- Category Foreach keeps looping?
- import mailchimp newsletters into wordpress [closed]
- CPT archive redirects to single post
- Archiving by academic year instead of calendar year
- Posts will not display on page-mypage.php
- display a random post thumbnail from a random category
- Display News Posts by Day with Post Counter
- Duplicate Custom Post Type and Taxonomy Slug
- remove post and categories/tags count from right now dashboard widget
- How to allow visitors to filter posts by multiple taxonomies
- How we exclude current post form related posts
- Remove Content after
- displaying flv-video attachment in post
- Replace image name on upload to the new post name on front-end form
- Deleted a user with administrator rights. Now all the data/content/images are lost. how to recover them back
- Need to change all links in page content but not in post content
- List all posts, pages and custom post types in admin
- linking to post outside the loop
- wordpress post not showing my “” text>?
- Sort All Posts by Category Name in the Admin Panel?
- Selecting related posts
- After 3.5.1. upgrade, posts appearing on Site yet *NOT* in WP admin!
- Find out in which kind of archive am I
- Help with listing current users submitted custom post type in template file
- Trying to query all posts in category 4
- How to create several Post pages
- How to show next/prev link, when it’s not active?
- Can I restore restore content from old Worpress site to a new Worpress site from an archive
- Changing The Default Header POST Title and Description text by category in wordpress
- Display hierarchical categories/sub-categories for a single post only
- Want to change the post every three days with in specific category
- Displaying all posts from other sites on the network on one site
- Display Post from Custom Post Type with Shortcode
- Modified core/image rendering not showing in posts – only on pages
- Not display an image of category of custom post
- Why do I have categories with duplicate slugs?
- Using a meta_value or postdate to to query and orderby
- How to generate an HTML link automatically from URL in a users’ post
- How can I get the last post while on the first post for pagination? As if it were infinite
- problem with admin panel
- Display WordPress Post By Date
- How to show content of specific item on the same page?
- Query post for today, if no post get the previous one
- How to get post_content while the post is being edited
- Call posts of particular category in a page
- Add wp-link-pages to post
- Display selected category on post page
- When I click edit on a post, all the content disappear. Does anyone know how to fix this?
- Page updates appear in Preview but not live version?
- How to use in_category?
- WP_Query: Fetch posts that are in (category1 and not in category2), OR posts that are not in cagegory1
- How do I display a full post, not just an excerpt?
- Make division in post_query?
- Redirecting to a post based on a GET parameter and a custom field
- Stop Authors from submitting spam post
- Simple method to generate posts from files
- WordPress posts loop pagination – first page return 125 posts instead of 10 and the rest return 10
- clicking on page title
- Published posts counter [closed]
- change page name on page list
- How to make the Post Author name fixed as “Editorial Staff” even if there are multiple authors?
- Trying to create parent for post. I need some help. Thanks