mansj / enable-media-replace

***DEVELOPMENT DISCONTINUED*** Enable Media Replace, a WordPress plugin to make it possible to replace uploaded media files in a simple way.
GNU General Public License v2.0
28 stars 27 forks source link

NOTREADY [PR] Use WordPress core APIs rather than direct SQL #6

Closed jeremyfelt closed 9 years ago

jeremyfelt commented 10 years ago

This is not yet complete, but I wanted to share progress to make sure that @mansj is on board with the approach. We should avoid using direct SQL statements as much as possible and use other methods available to us.

I'm in progress on using WP_Query() to search for existing content.

mansj commented 10 years ago

This is a good idea, as are your other commits. If you would let me know when you are finished I'll merge them into the next release.