Deprecated warning at settings page

Hi,

I have activated debugging via my wp-config file and there’s a warning at page Settings > General of a clean install of CP 2.4.1 :

Deprecated: Function wp_enqueue_script was called with an argument that is deprecated since version CP-2.2.0! The enqueued script jquery-ui-core has been deprecated.
Deprecated: Function wp_enqueue_script was called with an argument that is deprecated since version CP-2.2.0! The enqueued script jquery-ui-mouse has been deprecated.
Deprecated: Function wp_enqueue_script was called with an argument that is deprecated since version CP-2.2.0! The enqueued script jquery-ui-sortable has been deprecated.

So no warning at other pages, so far.
Is this caused by the Site Icon or Custom Login Image feature perghaps?

Guido

This is caused by intentional deprecation of those libraries as we plan to remove them in the future:

These are warning for developers and in now way do they affect current core functionality.

But the warning is very much present in a clean install (just did another install, to be certain).
And only at the page Settings > General.

What you are seeing is fully expected when you are using Debugging.

If anything it indicates we may have more work to do removing dependency on these libraries in core but the files will only be removed on release of 3.0 at the earliest.

I thought core was made “warning free” already. Apparently it’s not.. yet.
I also see similar warnings in the post/page editor now.

1 Like

Well worth opening an Issue on GitHub to make sure we don’t forget to address this in core.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.