The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
179 views

wp_get_http has been deprecated. Use WP_Http instead

I use a premium plugin (for theme dev.) that has included the WordPress Importer plugin and I get a deprecated notice: "wp_get_http has been deprecated. Use WP_Http instead" But the WP_Http send me ...
1
vote
0answers
39 views

Can I check plugins and themes for PHP 5.6 ahead of global PHP server Update

My server is updating to PHP 5.6 next week. I manage about 30 WordPress websites. I looked for a plugin that would check if any of the code throughout the other plugins and theme would break with the ...
0
votes
0answers
11 views

I am getting widget deprecated constructor on wordpress? [duplicate]

I am using Widget Context plugins and on my wordpress widget deprecated constructor error are showing : widget_context has a deprecated constructor in /Users/Andy/Cloud/Amazon/Active/local-server/...
12
votes
3answers
489 views

How to deprecate a function used in a plugin?

One of the functions I'm using in my plugin is polluting the global scope with a name that could collide with another function (used in another plugin). So, I guess I should deprecate it. But how ...
0
votes
1answer
72 views

wp_create_category deprecated?

Was trying to use this today: WP Create Category https://codex.wordpress.org/Function_Reference/wp_create_category Trying that (which I also assume it's only going to add terms to the built in "...
0
votes
0answers
45 views

Is there any harm in using RSS.php (or other deprecated features)?

I'm using RSS.php to parse RSS feeds on my site because I haven't got my head around SimplePie yet. Functionally, it works exactly as I want it to, but with error reporting on, I of course get the "...
1
vote
1answer
128 views

wp_customize_image_control deprecated add_tab alternative

I have been using add_tab to add a tab in Customizer with default images. It is deprecated and no longer works in WordPress 4.1. How can I create/find an alternative? add_action( 'customize_register',...
0
votes
0answers
109 views

Widget editor not displaying in Dashboard

I'm not sure if this is because of the new 3.9 update, because I haven't had to mess with any widgets in a while, but my active widgets won't display in the editor anymore. I've uploaded a screen ...
8
votes
1answer
91 views

Deprecating functions in a plugin class

I'm updating one of my plugins and I'm a little stuck with deprecating functions. Originally, my plugin had a global variable and the plugin's main class was instantiated and stored in the global ...
0
votes
1answer
59 views

Is this hook really deprecated? ( manage_{$taxonomy}_custom_column )

I've been adding some data to the columns of two taxonomies in a theme I'm working on. I've hit something that's got me confused though. I'm using this hook manage_{$taxonomy}_custom_column but the ...
0
votes
1answer
70 views

Where to find new class reference or function of deprecated one?

After upgrading from WordPress 3.5.2 to 3.6.1, with define('WP_DEBUG', true); a site of mine's showing warning for some deprecated codes throughout the site. Some of 'em are generated from my codes, ...
1
vote
1answer
194 views

How a deprecated function can crash WordPress site while upgrading

It is said that deprecated functions used in plugins & themes can crash a wordress website while upgrading to newer version, I want to see an example of deprecated function that can cause a crash. ...
3
votes
1answer
5k views

Warning/Notice about functions.php

I have trouble about the notice shows on the top of the home page as: Notice: load_plugin_textdomain was called with an argument that is deprecated since version 2.7 with no alternative available. ...
0
votes
2answers
155 views

wp_get_theme Warning: Illegal offset type

I'm using Post templates plugin. But its very outdated. I'm getting Warning: Illegal offset type at this line $templates = $themes[$theme]['Template Files']; Here is my full function code. ...
0
votes
1answer
213 views

Deprecated function get_user_by_email($email)

I tried to find replacement function for get_user_by_email($email) but no luck. This function I am using to allow user to log in by email address or user id. Is there any replacement function or ...
0
votes
2answers
43 views

Is it safe to update from 2.6.2 to the newest version?

I'm using Wordpress version 2.6.2 and now it shows in the page that Deprecated: Assigning the return value of new by reference is deprecated in /home/np14388/domains/<sitename>/public_html/wp-...
3
votes
5answers
6k views

How to replace bloginfo(template_url)

Basically I've used bloginfo(template_url) in a WordPress theme, but when I run theme-checker, it recommends to replace bloginfo(template_url) with get_template_directory_uri(), however when I use ...
3
votes
1answer
3k views

Use 'add_theme_support' instead of 'add_custom_image_header' In WordPress 3.4

I am debugging my theme using Debug Bar plugin, which is showing me this error (among a few others): Notice: add_custom_image_header is deprecated since version 3.4! Use add_theme_support( 'custom-...
3
votes
1answer
69 views

_deprecated_argument for constants

i'm working on updating a theme and previously it had used a lot of php CONSTANTS to set up some options as true or false. we're going to be updating these "decisions" to use add_theme_support() ...
17
votes
4answers
280 views

How long does a deprecated function live in core?

I'm curious to find out the process/philosophy behind removing deprecated functions from core. The Codex says this: These functions below have been deprecated. That means they have been replaced ...
4
votes
4answers
564 views

Automating deprecated call checks?

I've recently started revamping and re-releasing some abandoned (yet important) WordPress plugins. As I walk through the code patching other bugs, my IDE highlights deprecated function calls for me, ...
0
votes
1answer
1k views

Display only author posts in dashboard all posts panel

I would like to display only authors own posts in dashboard all posts section. As of now it displays everything. I found some code here which is written by @t31os Its working correctly. function ...
5
votes
2answers
497 views

What is the best way to handle deprecated functions?

Wordpress 3.3 has deprecated the add_contextual_help() functions and it's filters, so in order to continue supporting 3.0 - 3.2.1 and also comply with 3.3, I have done the following: global $...
0
votes
1answer
1k views

Undefined index: debuging error for theme option template snippet

Hello I tried to find the solution but couldn't get what I am looking for..I am getting error exactly as bellow.. Notice: Undefined index: page in C:\xampp\htdocs\site\wp-content\themes\mytheme\admin\...
2
votes
5answers
839 views

How to debug WordPress correctly?

I'm using a few plugins and UpThemes framework on my new website and if I turn on Wp Debug I can see that there are a few errors related to Deprecated functions (but website is working). What I would ...
0
votes
1answer
102 views

How to receive notification of deprecated API elements and functions?

There is some way to get notifications when deprecated API elements are used in WordPress. How is it done? Put WordPress in debug mode (which also shows all other types of errors) or is there another ...