As mysql_real_escape_string() was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0, you can try esc_sql() to work for later WP/PHP versions.
Replace mysql_real_escape_string() with esc_sql() at line 111 & 118 in your admin-interface.php file.
Hope this should work well for you!
Related Posts:
- Permanently remove first image from posts
- reason of splitting theme files to multiple files
- Set the transport of the Customizer ‘header_image’ core setting to ‘postMessage’
- One button to change all settings in theme customizer?
- Activate different theme for temporary preview
- Twitter feed is showing blank in WP site [closed]
- Design view breaking on Pages
- How do I hardcode a WordPress shortcode into my theme?
- Passing array in add_option()
- Create a quick start wordpress installation [closed]
- How should I best target dynamically served content?
- How do themes render caption texts in extended markup (e.g. “wp-caption” paragraphs)
- Changing the template hierarchy
- How to Insert Shortcodes into Theme?
- Warning: Use of undefined constant HTTP_USER_AGENT – assumed ‘HTTP_USER_AGENT’ (this will throw an Error in a future version of PHP)
- Set WordPress Default Template
- Custom Theme, Custom shortcode not working
- Adding custom directory and PHP files in wordpress
- Where in PHP do I move title and meta (date) to bottom of each blog section?
- Show full posts in archive
- Connect WordPress with SharePoint [closed]
- Reconfiguring WordPress site
- adding custom user input fields in WordPress admin dashboard gives error The link you followed has expired. Please try again
- Move category description below post list in blog
- Customizer: active_callback and sanitize_callback incompatibility?
- Custom Theme’s “Preview Changes” Doesn’t Work for Previously Published Posts
- How do I link a button I created in theme customizer to a function?
- 404 error when I acess the second page of post-type
- How to change theme programmatically from a external application?
- Is the “_s” on this `sprintf(__(‘Page %s’, ‘_s’), max($paged, $page))` just refer to a text domain?
- Does wordpress templates always in files or in database?
- proper way to add css using functions.php?
- Showing latest post without 301 redirect
- Translate wordpress date from Italian to English
- Why am I getting a different filename? And how does WordPress load singular.php for both Page & Post? (Fresh WordPress installation)
- Reason to add a name of the theme like (‘menu-1’ => __( ‘Primary’, ‘twentynineteen’ ),) in PHP?
- Separation of presentation and code – WordPress
- get_template_directory adding FTP root folders in urls
- How to integrate noimage picture in this code
- Need oop for wordpress theme? [duplicate]
- Warning: printf(): Too few arguments in helpers.php file
- WordPress and PHP Version Upgrade issue [closed]
- How to Update an old theme for the latest wordpress version
- get_comments_number() returns 0
- Fatal errors to undefined function in theme 404.php file [closed]
- Amend theme php to include certain category in header
- ‘Bones’ theme: Load stock scripts in footer instead of header?
- How can I assign separate stylesheets to different pages?
- How to make sure relative URL works when site is not on root domain?
- Editing Theme Files on WordPress.com-hosted Site [closed]
- call a string/function from database
- Some problems calling a function into sprintf() inside functions.php template file [closed]
- Wrap title and excerpt in a div (latest posts block)
- how to get wordpress page url php code [duplicate]
- How to set all External Domain Links with nofollow Attribute from Header Footer Content and Excerpt using PHP?
- Uncaught TypeError: extract(): Argument #1 ($array) must be of type array, null given
- How do I use an iFrame for my header in WordPress twenty seventeen?
- When I click for the redirect link it is showing the content of index.php instead of single_assignment_page.php
- remove_action from parent theme using child theme functions.php
- How to use data URL in WordPress?
- Commenting requires wordpress login, wordpress discussion and post comments tick boxes are checked
- Conditional Banners
- Force Sidebar on Full Width page
- The style.php file inside theme-engine folder has other content on FTP
- How to override theme’s public static function inside of a trait?
- How to Change Site Elements based on referring URL
- how to use 2 index.php file One for mobile and one for desktop
- PHP Error in WordPress Theme
- WordPress child theme, creating a custom php template page
- How to get Post sidebar & footer including html like get_the_content() which only gets content section?
- Menu to the right of screen on desktop using Bootstrap 4
- need to edit php file of child theme to remove an element
- Beginner Developing Theme with Bootstrap – NavMenu question
- How to add Open/Close Toggle button into Twenty Fifteen theme for hiding left sidebar?
- Local WordPress from Git repo, where to set document root?
- Use Custiomizer to setup meta theme color tag
- Rotating Header Images
- Custom Theme, Editor won’t wrap text (i.e. change width)
- Editted Theme Files Get Updated/Reverted Every So Often
- WordPress pagination broken on blog page, working for search results page
- two wordpress sites, two themes, one database, same content
- calling a function from a class in your template
- Showing custom field contents without listing description
- Hide cart when empty [closed]
- WP Knowledge Base Theme bug – Subcategories and Articles, Need to change WP_Query
- Shortcode Display From WordPress Dashboard Page Without Using post_id
- Include a php file that is above WP installation hierarchically?
- How can I print out a single stylesheet or javascript link?
- WordPress menu links with images & class selection
- Link a lightbox thumbnail to a post instead of opening the lightbox
- Predefine Magazine Style Layouts
- How to remove the intro animation which appears during the load up of some WordPress themes? [closed]
- How to store the_post_thumbnail() value in a variable
- a problem in class in class-wp-hook.php
- Using Featured Image as Hero Background in Word Press
- Gulp dev environment set up for WordPress theme development
- WordPress theme requires PHP v >=8.1 – How to a dd different PHP version to docker-composer
- The theme doesn’t load css and JS files doesn’t load in functions.php
- Upgraded php & wordpress but theme broke
- Woocommerce Select Option Popup [closed]