Create your own Deprecation Checker page or post

Jun 17th, 2012
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <strong>This site is only for checking for Deprecated Functions.</strong>
  2. <ol>
  3.     <li>Install the plugin (<a href="wp-admin/plugin-install.php?tab=url" target="_blank"><span style="background-color: yellow;">via URL</span></a>) or theme (<a href="/wp-admin/theme-install.php?tab=url" target="_blank"><span style="background-color: yellow;">via URL</span></a>)</li>
  4.     <li>Do NOT activate the plugin or theme</li>
  5.     <li>Run the <a href="/wp-admin/tools.php?page=deprecation-checker/deprecation-checker.php" target="_blank"><span style="background-color: yellow;">Deprecation Checker plugin</span></a></li>
  6.     <li>If "dirty":
  7. <ol>
  8.     <li>Look at the actual plugin/theme code on the specified line number(s) to see if the deprecated functions are used only when an old version of WordPress core is being used. This may be a feature, not an error. They would probably be contained within some "if" logic.</li>
  9.     <li><a href="" target="_blank">Report</a> any suspected incorrect usage of deprecated functions to the Author (or fix it yourself and submit a patch)</li>
  10.     <li>Install all future plugin and theme updates</li>
  11.     <li>Re-check, using Deprecation Checker plugin</li>
  12. </ol>
  13. </li>
  14.     <li>If "clean":
  15. <ol>
  16.     <li>You may permit yourself to consider using the plugin or theme</li>
  17.     <li><a href="" target="_blank">Donate to the Author</a> if it was free</li>
  18. </ol>
  19. </li>
  20. </ol>
  21. <div><strong>And repeat the steps above using additional scanners...</strong></div>
  22. <div>
  23. <ol>
  24.     <li><a href="/wp-admin/themes.php?page=themecheck" target="_blank"><span style="background-color: yellow;">Theme-Check on my WP</span></a></li>
  25.     <li><a href="/wp-admin/plugins.php?page=plugincheck" target="_blank"><span style="background-color: yellow;">Plugin-Check on my WP</span></a></li>
  26.     <li><a href="/wp-admin/themes.php?page=tac.php" target="_blank"><span style="background-color: yellow;">TAC check on my WP</span></a></li>
  27. </ol>
  28. </div>
  29. <strong>The ONLY plugins that should be activated are:</strong>
  30. <ol>
  31.     <li>Checker plugins
  32. <ol>
  33.     <li><a href="" target="_blank">Deprecation Checker</a></li>
  34.     <li><a href="" target="_blank">Theme-Check</a></li>
  35.     <li><a href="" target="_blank">Plugin-Check</a></li>
  36.     <li><a href="" target="_blank">TAC (Theme Authenticity Checker)</a></li>
  37. </ol>
  38. </li>
  39.     <li><a href="" target="_blank">Install via URL</a> (for quick and easy installations)</li>
  40.     <li>Any update plugins (to keep your plugins and themes updated so they can be re-checked), like <a href="" target="_blank">WPMU DEV Dashboard</a></li>
  41. </ol>
  42. By never activating any plugins or themes other than the ones above, you never risk the extensions adding "upon activation" items to your database.
  44. An additional benefit this structure provides is a holding space for all the plugins and themes you currently use, once thought about installing, or plan to install. It'll allow you to update and re-test all extensions prior to updating on your live sites, and you'll have a central place to bookmark all those "contender" extensions (the ones that are similar in functionality that you're looking to pick between).
RAW Paste Data