boot-cli 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1413) hide show
  1. checksums.yaml +7 -0
  2. data/bin/boot +9 -0
  3. data/lib/Boot/Lib/Commands/Config.rb +28 -0
  4. data/lib/Boot/Lib/Commands/Help.rb +17 -0
  5. data/lib/Boot/Lib/Commands/New.rb +77 -0
  6. data/lib/Boot/Lib/Commands/Template.rb +87 -0
  7. data/lib/Boot/Lib/Commands/Version.rb +15 -0
  8. data/lib/Boot/Lib/Core/Config.rb +84 -0
  9. data/lib/Boot/Lib/Core/InvalidConfigException.rb +4 -0
  10. data/lib/Boot/Lib/Core/InvalidTemplateException.rb +4 -0
  11. data/lib/Boot/Lib/Core/SubCommand.rb +61 -0
  12. data/lib/Boot/Lib/Core/Template.rb +375 -0
  13. data/lib/Boot/Lib/autoload.rb +23 -0
  14. data/lib/boot-default-config.json +1 -0
  15. data/lib/boot.rb +60 -0
  16. data/lib/template.json-schema +144 -0
  17. data/lib/templates/.document +1 -0
  18. data/lib/templates/.gitmodules +3 -0
  19. data/lib/templates/README.md +3 -0
  20. data/lib/templates/c/static/ext/__dummy-file__ +0 -0
  21. data/lib/templates/c/static/src/main.c +0 -0
  22. data/lib/templates/c/template.json +24 -0
  23. data/lib/templates/gitignores/Actionscript.gitignore +11 -0
  24. data/lib/templates/gitignores/Ada.gitignore +5 -0
  25. data/lib/templates/gitignores/Agda.gitignore +1 -0
  26. data/lib/templates/gitignores/Android.gitignore +27 -0
  27. data/lib/templates/gitignores/AppEngine.gitignore +2 -0
  28. data/lib/templates/gitignores/AppceleratorTitanium.gitignore +3 -0
  29. data/lib/templates/gitignores/ArchLinuxPackages.gitignore +14 -0
  30. data/lib/templates/gitignores/Autotools.gitignore +14 -0
  31. data/lib/templates/gitignores/C++.gitignore +28 -0
  32. data/lib/templates/gitignores/C.gitignore +32 -0
  33. data/lib/templates/gitignores/CFWheels.gitignore +12 -0
  34. data/lib/templates/gitignores/CMake.gitignore +5 -0
  35. data/lib/templates/gitignores/CONTRIBUTING.md +34 -0
  36. data/lib/templates/gitignores/CUDA.gitignore +6 -0
  37. data/lib/templates/gitignores/CakePHP.gitignore +13 -0
  38. data/lib/templates/gitignores/ChefCookbook.gitignore +9 -0
  39. data/lib/templates/gitignores/Clojure.gitignore +12 -0
  40. data/lib/templates/gitignores/CodeIgniter.gitignore +6 -0
  41. data/lib/templates/gitignores/CommonLisp.gitignore +3 -0
  42. data/lib/templates/gitignores/Composer.gitignore +6 -0
  43. data/lib/templates/gitignores/Concrete5.gitignore +3 -0
  44. data/lib/templates/gitignores/Coq.gitignore +3 -0
  45. data/lib/templates/gitignores/CraftCMS.gitignore +3 -0
  46. data/lib/templates/gitignores/DM.gitignore +5 -0
  47. data/lib/templates/gitignores/Dart.gitignore +14 -0
  48. data/lib/templates/gitignores/Delphi.gitignore +57 -0
  49. data/lib/templates/gitignores/Drupal.gitignore +36 -0
  50. data/lib/templates/gitignores/EPiServer.gitignore +4 -0
  51. data/lib/templates/gitignores/Eagle.gitignore +36 -0
  52. data/lib/templates/gitignores/Elisp.gitignore +5 -0
  53. data/lib/templates/gitignores/Elixir.gitignore +4 -0
  54. data/lib/templates/gitignores/Erlang.gitignore +10 -0
  55. data/lib/templates/gitignores/ExpressionEngine.gitignore +19 -0
  56. data/lib/templates/gitignores/ExtJs.gitignore +4 -0
  57. data/lib/templates/gitignores/Fancy.gitignore +2 -0
  58. data/lib/templates/gitignores/Finale.gitignore +13 -0
  59. data/lib/templates/gitignores/ForceDotCom.gitignore +4 -0
  60. data/lib/templates/gitignores/Fortran.gitignore +28 -0
  61. data/lib/templates/gitignores/FuelPHP.gitignore +2 -0
  62. data/lib/templates/gitignores/GWT.gitignore +28 -0
  63. data/lib/templates/gitignores/Gcov.gitignore +5 -0
  64. data/lib/templates/gitignores/GitBook.gitignore +16 -0
  65. data/lib/templates/gitignores/Global/Anjuta.gitignore +3 -0
  66. data/lib/templates/gitignores/Global/Archives.gitignore +27 -0
  67. data/lib/templates/gitignores/Global/BricxCC.gitignore +4 -0
  68. data/lib/templates/gitignores/Global/CVS.gitignore +4 -0
  69. data/lib/templates/gitignores/Global/Cloud9.gitignore +3 -0
  70. data/lib/templates/gitignores/Global/CodeKit.gitignore +3 -0
  71. data/lib/templates/gitignores/Global/DartEditor.gitignore +2 -0
  72. data/lib/templates/gitignores/Global/Dreamweaver.gitignore +3 -0
  73. data/lib/templates/gitignores/Global/Eclipse.gitignore +36 -0
  74. data/lib/templates/gitignores/Global/EiffelStudio.gitignore +2 -0
  75. data/lib/templates/gitignores/Global/Emacs.gitignore +32 -0
  76. data/lib/templates/gitignores/Global/Ensime.gitignore +4 -0
  77. data/lib/templates/gitignores/Global/Espresso.gitignore +1 -0
  78. data/lib/templates/gitignores/Global/FlexBuilder.gitignore +3 -0
  79. data/lib/templates/gitignores/Global/IPythonNotebook.gitignore +2 -0
  80. data/lib/templates/gitignores/Global/JDeveloper.gitignore +13 -0
  81. data/lib/templates/gitignores/Global/JetBrains.gitignore +46 -0
  82. data/lib/templates/gitignores/Global/KDevelop4.gitignore +2 -0
  83. data/lib/templates/gitignores/Global/Kate.gitignore +3 -0
  84. data/lib/templates/gitignores/Global/Lazarus.gitignore +15 -0
  85. data/lib/templates/gitignores/Global/LibreOffice.gitignore +2 -0
  86. data/lib/templates/gitignores/Global/Linux.gitignore +7 -0
  87. data/lib/templates/gitignores/Global/LyX.gitignore +4 -0
  88. data/lib/templates/gitignores/Global/Matlab.gitignore +16 -0
  89. data/lib/templates/gitignores/Global/Mercurial.gitignore +3 -0
  90. data/lib/templates/gitignores/Global/MicrosoftOffice.gitignore +10 -0
  91. data/lib/templates/gitignores/Global/ModelSim.gitignore +23 -0
  92. data/lib/templates/gitignores/Global/Momentics.gitignore +8 -0
  93. data/lib/templates/gitignores/Global/MonoDevelop.gitignore +8 -0
  94. data/lib/templates/gitignores/Global/NetBeans.gitignore +8 -0
  95. data/lib/templates/gitignores/Global/Ninja.gitignore +2 -0
  96. data/lib/templates/gitignores/Global/NotepadPP.gitignore +2 -0
  97. data/lib/templates/gitignores/Global/OSX.gitignore +24 -0
  98. data/lib/templates/gitignores/Global/README.md +10 -0
  99. data/lib/templates/gitignores/Global/Redcar.gitignore +1 -0
  100. data/lib/templates/gitignores/Global/Redis.gitignore +3 -0
  101. data/lib/templates/gitignores/Global/SBT.gitignore +9 -0
  102. data/lib/templates/gitignores/Global/SVN.gitignore +1 -0
  103. data/lib/templates/gitignores/Global/SlickEdit.gitignore +11 -0
  104. data/lib/templates/gitignores/Global/SublimeText.gitignore +14 -0
  105. data/lib/templates/gitignores/Global/SynopsysVCS.gitignore +23 -0
  106. data/lib/templates/gitignores/Global/Tags.gitignore +14 -0
  107. data/lib/templates/gitignores/Global/TextMate.gitignore +3 -0
  108. data/lib/templates/gitignores/Global/TortoiseGit.gitignore +2 -0
  109. data/lib/templates/gitignores/Global/Vagrant.gitignore +1 -0
  110. data/lib/templates/gitignores/Global/Vim.gitignore +6 -0
  111. data/lib/templates/gitignores/Global/VirtualEnv.gitignore +9 -0
  112. data/lib/templates/gitignores/Global/WebMethods.gitignore +14 -0
  113. data/lib/templates/gitignores/Global/Windows.gitignore +18 -0
  114. data/lib/templates/gitignores/Global/Xcode.gitignore +14 -0
  115. data/lib/templates/gitignores/Global/XilinxISE.gitignore +57 -0
  116. data/lib/templates/gitignores/Go.gitignore +24 -0
  117. data/lib/templates/gitignores/Gradle.gitignore +8 -0
  118. data/lib/templates/gitignores/Grails.gitignore +33 -0
  119. data/lib/templates/gitignores/Haskell.gitignore +16 -0
  120. data/lib/templates/gitignores/IGORPro.gitignore +5 -0
  121. data/lib/templates/gitignores/Idris.gitignore +2 -0
  122. data/lib/templates/gitignores/Java.gitignore +12 -0
  123. data/lib/templates/gitignores/Jboss.gitignore +19 -0
  124. data/lib/templates/gitignores/Jekyll.gitignore +3 -0
  125. data/lib/templates/gitignores/Joomla.gitignore +525 -0
  126. data/lib/templates/gitignores/Jython.gitignore +2 -0
  127. data/lib/templates/gitignores/KiCAD.gitignore +11 -0
  128. data/lib/templates/gitignores/Kohana.gitignore +2 -0
  129. data/lib/templates/gitignores/LICENSE +19 -0
  130. data/lib/templates/gitignores/LabVIEW.gitignore +16 -0
  131. data/lib/templates/gitignores/Laravel.gitignore +4 -0
  132. data/lib/templates/gitignores/Leiningen.gitignore +12 -0
  133. data/lib/templates/gitignores/LemonStand.gitignore +21 -0
  134. data/lib/templates/gitignores/Lilypond.gitignore +6 -0
  135. data/lib/templates/gitignores/Lithium.gitignore +2 -0
  136. data/lib/templates/gitignores/Lua.gitignore +41 -0
  137. data/lib/templates/gitignores/Magento.gitignore +126 -0
  138. data/lib/templates/gitignores/Maven.gitignore +9 -0
  139. data/lib/templates/gitignores/Mercury.gitignore +13 -0
  140. data/lib/templates/gitignores/MetaProgrammingSystem.gitignore +16 -0
  141. data/lib/templates/gitignores/Meteor.gitignore +2 -0
  142. data/lib/templates/gitignores/Nanoc.gitignore +10 -0
  143. data/lib/templates/gitignores/Nim.gitignore +1 -0
  144. data/lib/templates/gitignores/Node.gitignore +27 -0
  145. data/lib/templates/gitignores/OCaml.gitignore +20 -0
  146. data/lib/templates/gitignores/Objective-C.gitignore +26 -0
  147. data/lib/templates/gitignores/Opa.gitignore +13 -0
  148. data/lib/templates/gitignores/OpenCart.gitignore +11 -0
  149. data/lib/templates/gitignores/OracleForms.gitignore +8 -0
  150. data/lib/templates/gitignores/Packer.gitignore +5 -0
  151. data/lib/templates/gitignores/Perl.gitignore +20 -0
  152. data/lib/templates/gitignores/Phalcon.gitignore +2 -0
  153. data/lib/templates/gitignores/PlayFramework.gitignore +17 -0
  154. data/lib/templates/gitignores/Plone.gitignore +18 -0
  155. data/lib/templates/gitignores/Prestashop.gitignore +25 -0
  156. data/lib/templates/gitignores/Processing.gitignore +7 -0
  157. data/lib/templates/gitignores/Python.gitignore +57 -0
  158. data/lib/templates/gitignores/Qooxdoo.gitignore +5 -0
  159. data/lib/templates/gitignores/Qt.gitignore +34 -0
  160. data/lib/templates/gitignores/R.gitignore +13 -0
  161. data/lib/templates/gitignores/README.md +79 -0
  162. data/lib/templates/gitignores/ROS.gitignore +47 -0
  163. data/lib/templates/gitignores/Rails.gitignore +35 -0
  164. data/lib/templates/gitignores/RhodesRhomobile.gitignore +9 -0
  165. data/lib/templates/gitignores/Ruby.gitignore +35 -0
  166. data/lib/templates/gitignores/Rust.gitignore +11 -0
  167. data/lib/templates/gitignores/SCons.gitignore +2 -0
  168. data/lib/templates/gitignores/Sass.gitignore +2 -0
  169. data/lib/templates/gitignores/Scala.gitignore +17 -0
  170. data/lib/templates/gitignores/Scrivener.gitignore +7 -0
  171. data/lib/templates/gitignores/Sdcc.gitignore +8 -0
  172. data/lib/templates/gitignores/SeamGen.gitignore +26 -0
  173. data/lib/templates/gitignores/SketchUp.gitignore +1 -0
  174. data/lib/templates/gitignores/Stella.gitignore +12 -0
  175. data/lib/templates/gitignores/SugarCRM.gitignore +25 -0
  176. data/lib/templates/gitignores/Swift.gitignore +33 -0
  177. data/lib/templates/gitignores/Symfony.gitignore +37 -0
  178. data/lib/templates/gitignores/SymphonyCMS.gitignore +6 -0
  179. data/lib/templates/gitignores/TeX.gitignore +126 -0
  180. data/lib/templates/gitignores/Textpattern.gitignore +11 -0
  181. data/lib/templates/gitignores/TurboGears2.gitignore +20 -0
  182. data/lib/templates/gitignores/Typo3.gitignore +18 -0
  183. data/lib/templates/gitignores/Umbraco.gitignore +17 -0
  184. data/lib/templates/gitignores/Unity.gitignore +21 -0
  185. data/lib/templates/gitignores/VVVV.gitignore +6 -0
  186. data/lib/templates/gitignores/VisualStudio.gitignore +196 -0
  187. data/lib/templates/gitignores/Waf.gitignore +3 -0
  188. data/lib/templates/gitignores/WordPress.gitignore +13 -0
  189. data/lib/templates/gitignores/Xojo.gitignore +11 -0
  190. data/lib/templates/gitignores/Yeoman.gitignore +6 -0
  191. data/lib/templates/gitignores/Yii.gitignore +6 -0
  192. data/lib/templates/gitignores/ZendFramework.gitignore +20 -0
  193. data/lib/templates/gitignores/Zephir.gitignore +26 -0
  194. data/lib/templates/templates/boot-template/static/static/___dummy-file___ +1 -0
  195. data/lib/templates/templates/boot-template/static/template.json +7 -0
  196. data/lib/templates/templates/boot-template/template.json +17 -0
  197. data/lib/templates/templates/c/builder/makefile +12 -0
  198. data/lib/templates/templates/c/builder/makefile-pch +12 -0
  199. data/lib/templates/templates/c/misc/main.h +1 -0
  200. data/lib/templates/templates/c/static/lib/___dummy-file___ +1 -0
  201. data/lib/templates/templates/c/static/src/main.c +4 -0
  202. data/lib/templates/templates/c/template.json +32 -0
  203. data/lib/templates/templates/c/vcs/.gitignore +1 -0
  204. data/lib/templates/templates/c/vcs/.svnignore +1 -0
  205. data/lib/templates/templates/gem/Gemfile +3 -0
  206. data/lib/templates/templates/gem/gemname-git.gemspec +13 -0
  207. data/lib/templates/templates/gem/static/[[!gemname]].gemspec +13 -0
  208. data/lib/templates/templates/gem/static/bin/[[!gemname]] +1 -0
  209. data/lib/templates/templates/gem/static/lib/[[!gemname]].rb +0 -0
  210. data/lib/templates/templates/gem/static/test/test_helper.rb +0 -0
  211. data/lib/templates/templates/gem/template.json +33 -0
  212. data/lib/templates/templates/wordpress-plugin/static/wp-content/plugins/[[!plugin-name]]/[[!plugin-name]].php +11 -0
  213. data/lib/templates/templates/wordpress-plugin/template.json +26 -0
  214. data/lib/templates/templates/wordpress-plugin/vcs/git/gitignore.gitignore +1 -0
  215. data/lib/templates/templates/wordpress-theme/static/wp-content/themes/[[!theme-name]]/index.php +1 -0
  216. data/lib/templates/templates/wordpress-theme/static/wp-content/themes/[[!theme-name]]/style.css +12 -0
  217. data/lib/templates/templates/wordpress-theme/template.json +26 -0
  218. data/lib/templates/templates/wordpress-theme/vcs/git/gitignore.gitignore +1 -0
  219. data/lib/templates/wordpress/index.php +17 -0
  220. data/lib/templates/wordpress/license.txt +385 -0
  221. data/lib/templates/wordpress/readme.html +98 -0
  222. data/lib/templates/wordpress/wp-activate.php +131 -0
  223. data/lib/templates/wordpress/wp-admin/about.php +166 -0
  224. data/lib/templates/wordpress/wp-admin/admin-ajax.php +99 -0
  225. data/lib/templates/wordpress/wp-admin/admin-footer.php +99 -0
  226. data/lib/templates/wordpress/wp-admin/admin-functions.php +15 -0
  227. data/lib/templates/wordpress/wp-admin/admin-header.php +249 -0
  228. data/lib/templates/wordpress/wp-admin/admin-post.php +71 -0
  229. data/lib/templates/wordpress/wp-admin/admin.php +361 -0
  230. data/lib/templates/wordpress/wp-admin/async-upload.php +115 -0
  231. data/lib/templates/wordpress/wp-admin/comment.php +330 -0
  232. data/lib/templates/wordpress/wp-admin/credits.php +192 -0
  233. data/lib/templates/wordpress/wp-admin/css/about-rtl.css +454 -0
  234. data/lib/templates/wordpress/wp-admin/css/about.css +454 -0
  235. data/lib/templates/wordpress/wp-admin/css/admin-menu-rtl.css +935 -0
  236. data/lib/templates/wordpress/wp-admin/css/admin-menu.css +935 -0
  237. data/lib/templates/wordpress/wp-admin/css/color-picker-rtl.css +127 -0
  238. data/lib/templates/wordpress/wp-admin/css/color-picker-rtl.min.css +1 -0
  239. data/lib/templates/wordpress/wp-admin/css/color-picker.css +127 -0
  240. data/lib/templates/wordpress/wp-admin/css/color-picker.min.css +1 -0
  241. data/lib/templates/wordpress/wp-admin/css/colors/_admin.scss +521 -0
  242. data/lib/templates/wordpress/wp-admin/css/colors/_mixins.scss +43 -0
  243. data/lib/templates/wordpress/wp-admin/css/colors/_variables.scss +58 -0
  244. data/lib/templates/wordpress/wp-admin/css/colors/blue/colors-rtl.css +330 -0
  245. data/lib/templates/wordpress/wp-admin/css/colors/blue/colors-rtl.min.css +1 -0
  246. data/lib/templates/wordpress/wp-admin/css/colors/blue/colors.css +330 -0
  247. data/lib/templates/wordpress/wp-admin/css/colors/blue/colors.min.css +1 -0
  248. data/lib/templates/wordpress/wp-admin/css/colors/blue/colors.scss +11 -0
  249. data/lib/templates/wordpress/wp-admin/css/colors/coffee/colors-rtl.css +330 -0
  250. data/lib/templates/wordpress/wp-admin/css/colors/coffee/colors-rtl.min.css +1 -0
  251. data/lib/templates/wordpress/wp-admin/css/colors/coffee/colors.css +330 -0
  252. data/lib/templates/wordpress/wp-admin/css/colors/coffee/colors.min.css +1 -0
  253. data/lib/templates/wordpress/wp-admin/css/colors/coffee/colors.scss +7 -0
  254. data/lib/templates/wordpress/wp-admin/css/colors/ectoplasm/colors-rtl.css +330 -0
  255. data/lib/templates/wordpress/wp-admin/css/colors/ectoplasm/colors-rtl.min.css +1 -0
  256. data/lib/templates/wordpress/wp-admin/css/colors/ectoplasm/colors.css +330 -0
  257. data/lib/templates/wordpress/wp-admin/css/colors/ectoplasm/colors.min.css +1 -0
  258. data/lib/templates/wordpress/wp-admin/css/colors/ectoplasm/colors.scss +8 -0
  259. data/lib/templates/wordpress/wp-admin/css/colors/light/colors-rtl.css +338 -0
  260. data/lib/templates/wordpress/wp-admin/css/colors/light/colors-rtl.min.css +1 -0
  261. data/lib/templates/wordpress/wp-admin/css/colors/light/colors.css +338 -0
  262. data/lib/templates/wordpress/wp-admin/css/colors/light/colors.min.css +1 -0
  263. data/lib/templates/wordpress/wp-admin/css/colors/light/colors.scss +38 -0
  264. data/lib/templates/wordpress/wp-admin/css/colors/midnight/colors-rtl.css +330 -0
  265. data/lib/templates/wordpress/wp-admin/css/colors/midnight/colors-rtl.min.css +1 -0
  266. data/lib/templates/wordpress/wp-admin/css/colors/midnight/colors.css +330 -0
  267. data/lib/templates/wordpress/wp-admin/css/colors/midnight/colors.min.css +1 -0
  268. data/lib/templates/wordpress/wp-admin/css/colors/midnight/colors.scss +5 -0
  269. data/lib/templates/wordpress/wp-admin/css/colors/ocean/colors-rtl.css +330 -0
  270. data/lib/templates/wordpress/wp-admin/css/colors/ocean/colors-rtl.min.css +1 -0
  271. data/lib/templates/wordpress/wp-admin/css/colors/ocean/colors.css +330 -0
  272. data/lib/templates/wordpress/wp-admin/css/colors/ocean/colors.min.css +1 -0
  273. data/lib/templates/wordpress/wp-admin/css/colors/ocean/colors.scss +8 -0
  274. data/lib/templates/wordpress/wp-admin/css/colors/sunrise/colors-rtl.css +330 -0
  275. data/lib/templates/wordpress/wp-admin/css/colors/sunrise/colors-rtl.min.css +1 -0
  276. data/lib/templates/wordpress/wp-admin/css/colors/sunrise/colors.css +330 -0
  277. data/lib/templates/wordpress/wp-admin/css/colors/sunrise/colors.min.css +1 -0
  278. data/lib/templates/wordpress/wp-admin/css/colors/sunrise/colors.scss +6 -0
  279. data/lib/templates/wordpress/wp-admin/css/common-rtl.css +3289 -0
  280. data/lib/templates/wordpress/wp-admin/css/common.css +3289 -0
  281. data/lib/templates/wordpress/wp-admin/css/customize-controls-rtl.css +1191 -0
  282. data/lib/templates/wordpress/wp-admin/css/customize-controls-rtl.min.css +1 -0
  283. data/lib/templates/wordpress/wp-admin/css/customize-controls.css +1191 -0
  284. data/lib/templates/wordpress/wp-admin/css/customize-controls.min.css +1 -0
  285. data/lib/templates/wordpress/wp-admin/css/customize-widgets-rtl.css +636 -0
  286. data/lib/templates/wordpress/wp-admin/css/customize-widgets-rtl.min.css +1 -0
  287. data/lib/templates/wordpress/wp-admin/css/customize-widgets.css +636 -0
  288. data/lib/templates/wordpress/wp-admin/css/customize-widgets.min.css +1 -0
  289. data/lib/templates/wordpress/wp-admin/css/dashboard-rtl.css +1111 -0
  290. data/lib/templates/wordpress/wp-admin/css/dashboard.css +1111 -0
  291. data/lib/templates/wordpress/wp-admin/css/deprecated-media-rtl.css +407 -0
  292. data/lib/templates/wordpress/wp-admin/css/deprecated-media-rtl.min.css +1 -0
  293. data/lib/templates/wordpress/wp-admin/css/deprecated-media.css +407 -0
  294. data/lib/templates/wordpress/wp-admin/css/deprecated-media.min.css +1 -0
  295. data/lib/templates/wordpress/wp-admin/css/edit-rtl.css +1589 -0
  296. data/lib/templates/wordpress/wp-admin/css/edit.css +1589 -0
  297. data/lib/templates/wordpress/wp-admin/css/farbtastic-rtl.css +41 -0
  298. data/lib/templates/wordpress/wp-admin/css/farbtastic.css +41 -0
  299. data/lib/templates/wordpress/wp-admin/css/forms-rtl.css +1175 -0
  300. data/lib/templates/wordpress/wp-admin/css/forms.css +1175 -0
  301. data/lib/templates/wordpress/wp-admin/css/ie-rtl.css +785 -0
  302. data/lib/templates/wordpress/wp-admin/css/ie-rtl.min.css +1 -0
  303. data/lib/templates/wordpress/wp-admin/css/ie.css +785 -0
  304. data/lib/templates/wordpress/wp-admin/css/ie.min.css +1 -0
  305. data/lib/templates/wordpress/wp-admin/css/install-rtl.css +388 -0
  306. data/lib/templates/wordpress/wp-admin/css/install-rtl.min.css +1 -0
  307. data/lib/templates/wordpress/wp-admin/css/install.css +388 -0
  308. data/lib/templates/wordpress/wp-admin/css/install.min.css +1 -0
  309. data/lib/templates/wordpress/wp-admin/css/l10n-rtl.css +111 -0
  310. data/lib/templates/wordpress/wp-admin/css/l10n.css +111 -0
  311. data/lib/templates/wordpress/wp-admin/css/list-tables-rtl.css +1925 -0
  312. data/lib/templates/wordpress/wp-admin/css/list-tables.css +1925 -0
  313. data/lib/templates/wordpress/wp-admin/css/login-rtl.css +265 -0
  314. data/lib/templates/wordpress/wp-admin/css/login-rtl.min.css +1 -0
  315. data/lib/templates/wordpress/wp-admin/css/login.css +265 -0
  316. data/lib/templates/wordpress/wp-admin/css/login.min.css +1 -0
  317. data/lib/templates/wordpress/wp-admin/css/media-rtl.css +1193 -0
  318. data/lib/templates/wordpress/wp-admin/css/media.css +1193 -0
  319. data/lib/templates/wordpress/wp-admin/css/nav-menus-rtl.css +865 -0
  320. data/lib/templates/wordpress/wp-admin/css/nav-menus.css +865 -0
  321. data/lib/templates/wordpress/wp-admin/css/press-this-editor-rtl.css +123 -0
  322. data/lib/templates/wordpress/wp-admin/css/press-this-editor.css +123 -0
  323. data/lib/templates/wordpress/wp-admin/css/press-this-rtl.css +2039 -0
  324. data/lib/templates/wordpress/wp-admin/css/press-this-rtl.min.css +1 -0
  325. data/lib/templates/wordpress/wp-admin/css/press-this.css +2039 -0
  326. data/lib/templates/wordpress/wp-admin/css/press-this.min.css +1 -0
  327. data/lib/templates/wordpress/wp-admin/css/revisions-rtl.css +575 -0
  328. data/lib/templates/wordpress/wp-admin/css/revisions.css +575 -0
  329. data/lib/templates/wordpress/wp-admin/css/themes-rtl.css +1760 -0
  330. data/lib/templates/wordpress/wp-admin/css/themes.css +1760 -0
  331. data/lib/templates/wordpress/wp-admin/css/widgets-rtl.css +579 -0
  332. data/lib/templates/wordpress/wp-admin/css/widgets.css +579 -0
  333. data/lib/templates/wordpress/wp-admin/css/wp-admin-rtl.css +13 -0
  334. data/lib/templates/wordpress/wp-admin/css/wp-admin-rtl.min.css +8 -0
  335. data/lib/templates/wordpress/wp-admin/css/wp-admin.css +13 -0
  336. data/lib/templates/wordpress/wp-admin/css/wp-admin.min.css +8 -0
  337. data/lib/templates/wordpress/wp-admin/custom-background.php +472 -0
  338. data/lib/templates/wordpress/wp-admin/custom-header.php +1303 -0
  339. data/lib/templates/wordpress/wp-admin/customize.php +300 -0
  340. data/lib/templates/wordpress/wp-admin/edit-comments.php +254 -0
  341. data/lib/templates/wordpress/wp-admin/edit-form-advanced.php +668 -0
  342. data/lib/templates/wordpress/wp-admin/edit-form-comment.php +189 -0
  343. data/lib/templates/wordpress/wp-admin/edit-link-form.php +150 -0
  344. data/lib/templates/wordpress/wp-admin/edit-tag-form.php +228 -0
  345. data/lib/templates/wordpress/wp-admin/edit-tags.php +603 -0
  346. data/lib/templates/wordpress/wp-admin/edit.php +338 -0
  347. data/lib/templates/wordpress/wp-admin/export.php +242 -0
  348. data/lib/templates/wordpress/wp-admin/freedoms.php +57 -0
  349. data/lib/templates/wordpress/wp-admin/images/align-center-2x.png +0 -0
  350. data/lib/templates/wordpress/wp-admin/images/align-center.png +0 -0
  351. data/lib/templates/wordpress/wp-admin/images/align-left-2x.png +0 -0
  352. data/lib/templates/wordpress/wp-admin/images/align-left.png +0 -0
  353. data/lib/templates/wordpress/wp-admin/images/align-none-2x.png +0 -0
  354. data/lib/templates/wordpress/wp-admin/images/align-none.png +0 -0
  355. data/lib/templates/wordpress/wp-admin/images/align-right-2x.png +0 -0
  356. data/lib/templates/wordpress/wp-admin/images/align-right.png +0 -0
  357. data/lib/templates/wordpress/wp-admin/images/arrows-2x.png +0 -0
  358. data/lib/templates/wordpress/wp-admin/images/arrows.png +0 -0
  359. data/lib/templates/wordpress/wp-admin/images/bubble_bg-2x.gif +0 -0
  360. data/lib/templates/wordpress/wp-admin/images/bubble_bg.gif +0 -0
  361. data/lib/templates/wordpress/wp-admin/images/comment-grey-bubble-2x.png +0 -0
  362. data/lib/templates/wordpress/wp-admin/images/comment-grey-bubble.png +0 -0
  363. data/lib/templates/wordpress/wp-admin/images/date-button-2x.gif +0 -0
  364. data/lib/templates/wordpress/wp-admin/images/date-button.gif +0 -0
  365. data/lib/templates/wordpress/wp-admin/images/generic.png +0 -0
  366. data/lib/templates/wordpress/wp-admin/images/icons32-2x.png +0 -0
  367. data/lib/templates/wordpress/wp-admin/images/icons32-vs-2x.png +0 -0
  368. data/lib/templates/wordpress/wp-admin/images/icons32-vs.png +0 -0
  369. data/lib/templates/wordpress/wp-admin/images/icons32.png +0 -0
  370. data/lib/templates/wordpress/wp-admin/images/imgedit-icons-2x.png +0 -0
  371. data/lib/templates/wordpress/wp-admin/images/imgedit-icons.png +0 -0
  372. data/lib/templates/wordpress/wp-admin/images/list-2x.png +0 -0
  373. data/lib/templates/wordpress/wp-admin/images/list.png +0 -0
  374. data/lib/templates/wordpress/wp-admin/images/loading.gif +0 -0
  375. data/lib/templates/wordpress/wp-admin/images/marker.png +0 -0
  376. data/lib/templates/wordpress/wp-admin/images/mask.png +0 -0
  377. data/lib/templates/wordpress/wp-admin/images/media-button-2x.png +0 -0
  378. data/lib/templates/wordpress/wp-admin/images/media-button-image.gif +0 -0
  379. data/lib/templates/wordpress/wp-admin/images/media-button-music.gif +0 -0
  380. data/lib/templates/wordpress/wp-admin/images/media-button-other.gif +0 -0
  381. data/lib/templates/wordpress/wp-admin/images/media-button-video.gif +0 -0
  382. data/lib/templates/wordpress/wp-admin/images/media-button.png +0 -0
  383. data/lib/templates/wordpress/wp-admin/images/menu-2x.png +0 -0
  384. data/lib/templates/wordpress/wp-admin/images/menu-vs-2x.png +0 -0
  385. data/lib/templates/wordpress/wp-admin/images/menu-vs.png +0 -0
  386. data/lib/templates/wordpress/wp-admin/images/menu.png +0 -0
  387. data/lib/templates/wordpress/wp-admin/images/no.png +0 -0
  388. data/lib/templates/wordpress/wp-admin/images/post-formats-vs.png +0 -0
  389. data/lib/templates/wordpress/wp-admin/images/post-formats.png +0 -0
  390. data/lib/templates/wordpress/wp-admin/images/post-formats32-vs.png +0 -0
  391. data/lib/templates/wordpress/wp-admin/images/post-formats32.png +0 -0
  392. data/lib/templates/wordpress/wp-admin/images/resize-2x.gif +0 -0
  393. data/lib/templates/wordpress/wp-admin/images/resize-rtl-2x.gif +0 -0
  394. data/lib/templates/wordpress/wp-admin/images/resize-rtl.gif +0 -0
  395. data/lib/templates/wordpress/wp-admin/images/resize.gif +0 -0
  396. data/lib/templates/wordpress/wp-admin/images/se.png +0 -0
  397. data/lib/templates/wordpress/wp-admin/images/sort-2x.gif +0 -0
  398. data/lib/templates/wordpress/wp-admin/images/sort.gif +0 -0
  399. data/lib/templates/wordpress/wp-admin/images/spinner-2x.gif +0 -0
  400. data/lib/templates/wordpress/wp-admin/images/spinner.gif +0 -0
  401. data/lib/templates/wordpress/wp-admin/images/stars-2x.png +0 -0
  402. data/lib/templates/wordpress/wp-admin/images/stars.png +0 -0
  403. data/lib/templates/wordpress/wp-admin/images/w-logo-blue.png +0 -0
  404. data/lib/templates/wordpress/wp-admin/images/w-logo-white.png +0 -0
  405. data/lib/templates/wordpress/wp-admin/images/wheel.png +0 -0
  406. data/lib/templates/wordpress/wp-admin/images/wordpress-logo-white.svg +1 -0
  407. data/lib/templates/wordpress/wp-admin/images/wordpress-logo.png +0 -0
  408. data/lib/templates/wordpress/wp-admin/images/wordpress-logo.svg +1 -0
  409. data/lib/templates/wordpress/wp-admin/images/wpspin_light-2x.gif +0 -0
  410. data/lib/templates/wordpress/wp-admin/images/wpspin_light.gif +0 -0
  411. data/lib/templates/wordpress/wp-admin/images/xit-2x.gif +0 -0
  412. data/lib/templates/wordpress/wp-admin/images/xit.gif +0 -0
  413. data/lib/templates/wordpress/wp-admin/images/yes.png +0 -0
  414. data/lib/templates/wordpress/wp-admin/import.php +130 -0
  415. data/lib/templates/wordpress/wp-admin/includes/admin.php +74 -0
  416. data/lib/templates/wordpress/wp-admin/includes/ajax-actions.php +2973 -0
  417. data/lib/templates/wordpress/wp-admin/includes/bookmark.php +305 -0
  418. data/lib/templates/wordpress/wp-admin/includes/class-ftp-pure.php +190 -0
  419. data/lib/templates/wordpress/wp-admin/includes/class-ftp-sockets.php +250 -0
  420. data/lib/templates/wordpress/wp-admin/includes/class-ftp.php +906 -0
  421. data/lib/templates/wordpress/wp-admin/includes/class-pclzip.php +5687 -0
  422. data/lib/templates/wordpress/wp-admin/includes/class-wp-comments-list-table.php +643 -0
  423. data/lib/templates/wordpress/wp-admin/includes/class-wp-filesystem-base.php +766 -0
  424. data/lib/templates/wordpress/wp-admin/includes/class-wp-filesystem-direct.php +463 -0
  425. data/lib/templates/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php +513 -0
  426. data/lib/templates/wordpress/wp-admin/includes/class-wp-filesystem-ftpsockets.php +446 -0
  427. data/lib/templates/wordpress/wp-admin/includes/class-wp-filesystem-ssh2.php +505 -0
  428. data/lib/templates/wordpress/wp-admin/includes/class-wp-importer.php +301 -0
  429. data/lib/templates/wordpress/wp-admin/includes/class-wp-links-list-table.php +208 -0
  430. data/lib/templates/wordpress/wp-admin/includes/class-wp-list-table.php +1141 -0
  431. data/lib/templates/wordpress/wp-admin/includes/class-wp-media-list-table.php +556 -0
  432. data/lib/templates/wordpress/wp-admin/includes/class-wp-ms-sites-list-table.php +404 -0
  433. data/lib/templates/wordpress/wp-admin/includes/class-wp-ms-themes-list-table.php +480 -0
  434. data/lib/templates/wordpress/wp-admin/includes/class-wp-ms-users-list-table.php +306 -0
  435. data/lib/templates/wordpress/wp-admin/includes/class-wp-plugin-install-list-table.php +515 -0
  436. data/lib/templates/wordpress/wp-admin/includes/class-wp-plugins-list-table.php +648 -0
  437. data/lib/templates/wordpress/wp-admin/includes/class-wp-posts-list-table.php +1416 -0
  438. data/lib/templates/wordpress/wp-admin/includes/class-wp-press-this.php +1466 -0
  439. data/lib/templates/wordpress/wp-admin/includes/class-wp-terms-list-table.php +513 -0
  440. data/lib/templates/wordpress/wp-admin/includes/class-wp-theme-install-list-table.php +431 -0
  441. data/lib/templates/wordpress/wp-admin/includes/class-wp-themes-list-table.php +285 -0
  442. data/lib/templates/wordpress/wp-admin/includes/class-wp-upgrader-skins.php +783 -0
  443. data/lib/templates/wordpress/wp-admin/includes/class-wp-upgrader.php +3254 -0
  444. data/lib/templates/wordpress/wp-admin/includes/class-wp-users-list-table.php +460 -0
  445. data/lib/templates/wordpress/wp-admin/includes/comment.php +173 -0
  446. data/lib/templates/wordpress/wp-admin/includes/continents-cities.php +493 -0
  447. data/lib/templates/wordpress/wp-admin/includes/dashboard.php +1341 -0
  448. data/lib/templates/wordpress/wp-admin/includes/deprecated.php +1183 -0
  449. data/lib/templates/wordpress/wp-admin/includes/export.php +510 -0
  450. data/lib/templates/wordpress/wp-admin/includes/file.php +1229 -0
  451. data/lib/templates/wordpress/wp-admin/includes/image-edit.php +861 -0
  452. data/lib/templates/wordpress/wp-admin/includes/image.php +600 -0
  453. data/lib/templates/wordpress/wp-admin/includes/import.php +204 -0
  454. data/lib/templates/wordpress/wp-admin/includes/list-table.php +113 -0
  455. data/lib/templates/wordpress/wp-admin/includes/media.php +3083 -0
  456. data/lib/templates/wordpress/wp-admin/includes/menu.php +322 -0
  457. data/lib/templates/wordpress/wp-admin/includes/meta-boxes.php +1132 -0
  458. data/lib/templates/wordpress/wp-admin/includes/misc.php +889 -0
  459. data/lib/templates/wordpress/wp-admin/includes/ms-deprecated.php +77 -0
  460. data/lib/templates/wordpress/wp-admin/includes/ms.php +971 -0
  461. data/lib/templates/wordpress/wp-admin/includes/nav-menu.php +1324 -0
  462. data/lib/templates/wordpress/wp-admin/includes/plugin-install.php +580 -0
  463. data/lib/templates/wordpress/wp-admin/includes/plugin.php +1892 -0
  464. data/lib/templates/wordpress/wp-admin/includes/post.php +1742 -0
  465. data/lib/templates/wordpress/wp-admin/includes/revision.php +378 -0
  466. data/lib/templates/wordpress/wp-admin/includes/schema.php +1046 -0
  467. data/lib/templates/wordpress/wp-admin/includes/screen.php +1185 -0
  468. data/lib/templates/wordpress/wp-admin/includes/taxonomy.php +290 -0
  469. data/lib/templates/wordpress/wp-admin/includes/template.php +2248 -0
  470. data/lib/templates/wordpress/wp-admin/includes/theme-install.php +205 -0
  471. data/lib/templates/wordpress/wp-admin/includes/theme.php +564 -0
  472. data/lib/templates/wordpress/wp-admin/includes/translation-install.php +241 -0
  473. data/lib/templates/wordpress/wp-admin/includes/update-core.php +1190 -0
  474. data/lib/templates/wordpress/wp-admin/includes/update.php +435 -0
  475. data/lib/templates/wordpress/wp-admin/includes/upgrade.php +2410 -0
  476. data/lib/templates/wordpress/wp-admin/includes/user.php +442 -0
  477. data/lib/templates/wordpress/wp-admin/includes/widgets.php +245 -0
  478. data/lib/templates/wordpress/wp-admin/index.php +132 -0
  479. data/lib/templates/wordpress/wp-admin/install-helper.php +198 -0
  480. data/lib/templates/wordpress/wp-admin/install.php +307 -0
  481. data/lib/templates/wordpress/wp-admin/js/accordion.js +75 -0
  482. data/lib/templates/wordpress/wp-admin/js/accordion.min.js +1 -0
  483. data/lib/templates/wordpress/wp-admin/js/bookmarklet.js +166 -0
  484. data/lib/templates/wordpress/wp-admin/js/bookmarklet.min.js +1 -0
  485. data/lib/templates/wordpress/wp-admin/js/color-picker.js +157 -0
  486. data/lib/templates/wordpress/wp-admin/js/color-picker.min.js +1 -0
  487. data/lib/templates/wordpress/wp-admin/js/comment.js +50 -0
  488. data/lib/templates/wordpress/wp-admin/js/comment.min.js +1 -0
  489. data/lib/templates/wordpress/wp-admin/js/common.js +893 -0
  490. data/lib/templates/wordpress/wp-admin/js/common.min.js +1 -0
  491. data/lib/templates/wordpress/wp-admin/js/custom-background.js +75 -0
  492. data/lib/templates/wordpress/wp-admin/js/custom-background.min.js +1 -0
  493. data/lib/templates/wordpress/wp-admin/js/custom-header.js +61 -0
  494. data/lib/templates/wordpress/wp-admin/js/customize-controls.js +3071 -0
  495. data/lib/templates/wordpress/wp-admin/js/customize-controls.min.js +2 -0
  496. data/lib/templates/wordpress/wp-admin/js/customize-widgets.js +2024 -0
  497. data/lib/templates/wordpress/wp-admin/js/customize-widgets.min.js +1 -0
  498. data/lib/templates/wordpress/wp-admin/js/dashboard.js +190 -0
  499. data/lib/templates/wordpress/wp-admin/js/dashboard.min.js +1 -0
  500. data/lib/templates/wordpress/wp-admin/js/edit-comments.js +627 -0
  501. data/lib/templates/wordpress/wp-admin/js/edit-comments.min.js +1 -0
  502. data/lib/templates/wordpress/wp-admin/js/editor-expand.js +1237 -0
  503. data/lib/templates/wordpress/wp-admin/js/editor-expand.min.js +1 -0
  504. data/lib/templates/wordpress/wp-admin/js/editor.js +324 -0
  505. data/lib/templates/wordpress/wp-admin/js/editor.min.js +1 -0
  506. data/lib/templates/wordpress/wp-admin/js/farbtastic.js +276 -0
  507. data/lib/templates/wordpress/wp-admin/js/gallery.js +237 -0
  508. data/lib/templates/wordpress/wp-admin/js/gallery.min.js +1 -0
  509. data/lib/templates/wordpress/wp-admin/js/image-edit.js +633 -0
  510. data/lib/templates/wordpress/wp-admin/js/image-edit.min.js +1 -0
  511. data/lib/templates/wordpress/wp-admin/js/inline-edit-post.js +360 -0
  512. data/lib/templates/wordpress/wp-admin/js/inline-edit-post.min.js +1 -0
  513. data/lib/templates/wordpress/wp-admin/js/inline-edit-tax.js +152 -0
  514. data/lib/templates/wordpress/wp-admin/js/inline-edit-tax.min.js +1 -0
  515. data/lib/templates/wordpress/wp-admin/js/iris.min.js +4 -0
  516. data/lib/templates/wordpress/wp-admin/js/language-chooser.js +26 -0
  517. data/lib/templates/wordpress/wp-admin/js/language-chooser.min.js +1 -0
  518. data/lib/templates/wordpress/wp-admin/js/link.js +69 -0
  519. data/lib/templates/wordpress/wp-admin/js/link.min.js +1 -0
  520. data/lib/templates/wordpress/wp-admin/js/media-gallery.js +26 -0
  521. data/lib/templates/wordpress/wp-admin/js/media-gallery.min.js +1 -0
  522. data/lib/templates/wordpress/wp-admin/js/media-upload.js +69 -0
  523. data/lib/templates/wordpress/wp-admin/js/media-upload.min.js +1 -0
  524. data/lib/templates/wordpress/wp-admin/js/media.js +114 -0
  525. data/lib/templates/wordpress/wp-admin/js/media.min.js +1 -0
  526. data/lib/templates/wordpress/wp-admin/js/nav-menu.js +1237 -0
  527. data/lib/templates/wordpress/wp-admin/js/nav-menu.min.js +1 -0
  528. data/lib/templates/wordpress/wp-admin/js/password-strength-meter.js +75 -0
  529. data/lib/templates/wordpress/wp-admin/js/password-strength-meter.min.js +1 -0
  530. data/lib/templates/wordpress/wp-admin/js/plugin-install.js +72 -0
  531. data/lib/templates/wordpress/wp-admin/js/plugin-install.min.js +1 -0
  532. data/lib/templates/wordpress/wp-admin/js/post.js +926 -0
  533. data/lib/templates/wordpress/wp-admin/js/post.min.js +1 -0
  534. data/lib/templates/wordpress/wp-admin/js/postbox.js +199 -0
  535. data/lib/templates/wordpress/wp-admin/js/postbox.min.js +1 -0
  536. data/lib/templates/wordpress/wp-admin/js/press-this.js +796 -0
  537. data/lib/templates/wordpress/wp-admin/js/press-this.min.js +1 -0
  538. data/lib/templates/wordpress/wp-admin/js/revisions.js +1166 -0
  539. data/lib/templates/wordpress/wp-admin/js/revisions.min.js +1 -0
  540. data/lib/templates/wordpress/wp-admin/js/set-post-thumbnail.js +24 -0
  541. data/lib/templates/wordpress/wp-admin/js/set-post-thumbnail.min.js +1 -0
  542. data/lib/templates/wordpress/wp-admin/js/svg-painter.js +240 -0
  543. data/lib/templates/wordpress/wp-admin/js/svg-painter.min.js +1 -0
  544. data/lib/templates/wordpress/wp-admin/js/tags-box.js +202 -0
  545. data/lib/templates/wordpress/wp-admin/js/tags-box.min.js +1 -0
  546. data/lib/templates/wordpress/wp-admin/js/tags.js +72 -0
  547. data/lib/templates/wordpress/wp-admin/js/tags.min.js +1 -0
  548. data/lib/templates/wordpress/wp-admin/js/theme.js +1726 -0
  549. data/lib/templates/wordpress/wp-admin/js/theme.min.js +1 -0
  550. data/lib/templates/wordpress/wp-admin/js/updates.js +553 -0
  551. data/lib/templates/wordpress/wp-admin/js/updates.min.js +1 -0
  552. data/lib/templates/wordpress/wp-admin/js/user-profile.js +149 -0
  553. data/lib/templates/wordpress/wp-admin/js/user-profile.min.js +1 -0
  554. data/lib/templates/wordpress/wp-admin/js/user-suggest.js +30 -0
  555. data/lib/templates/wordpress/wp-admin/js/user-suggest.min.js +1 -0
  556. data/lib/templates/wordpress/wp-admin/js/widgets.js +494 -0
  557. data/lib/templates/wordpress/wp-admin/js/widgets.min.js +1 -0
  558. data/lib/templates/wordpress/wp-admin/js/word-count.js +44 -0
  559. data/lib/templates/wordpress/wp-admin/js/word-count.min.js +1 -0
  560. data/lib/templates/wordpress/wp-admin/js/wp-fullscreen.js +704 -0
  561. data/lib/templates/wordpress/wp-admin/js/wp-fullscreen.min.js +1 -0
  562. data/lib/templates/wordpress/wp-admin/js/xfn.js +17 -0
  563. data/lib/templates/wordpress/wp-admin/js/xfn.min.js +1 -0
  564. data/lib/templates/wordpress/wp-admin/link-add.php +29 -0
  565. data/lib/templates/wordpress/wp-admin/link-manager.php +99 -0
  566. data/lib/templates/wordpress/wp-admin/link-parse-opml.php +87 -0
  567. data/lib/templates/wordpress/wp-admin/link.php +117 -0
  568. data/lib/templates/wordpress/wp-admin/load-scripts.php +162 -0
  569. data/lib/templates/wordpress/wp-admin/load-styles.php +153 -0
  570. data/lib/templates/wordpress/wp-admin/maint/repair.php +124 -0
  571. data/lib/templates/wordpress/wp-admin/media-new.php +84 -0
  572. data/lib/templates/wordpress/wp-admin/media-upload.php +103 -0
  573. data/lib/templates/wordpress/wp-admin/media.php +146 -0
  574. data/lib/templates/wordpress/wp-admin/menu-header.php +242 -0
  575. data/lib/templates/wordpress/wp-admin/menu.php +269 -0
  576. data/lib/templates/wordpress/wp-admin/moderation.php +12 -0
  577. data/lib/templates/wordpress/wp-admin/ms-admin.php +13 -0
  578. data/lib/templates/wordpress/wp-admin/ms-delete-site.php +94 -0
  579. data/lib/templates/wordpress/wp-admin/ms-edit.php +13 -0
  580. data/lib/templates/wordpress/wp-admin/ms-options.php +12 -0
  581. data/lib/templates/wordpress/wp-admin/ms-sites.php +13 -0
  582. data/lib/templates/wordpress/wp-admin/ms-themes.php +13 -0
  583. data/lib/templates/wordpress/wp-admin/ms-upgrade-network.php +13 -0
  584. data/lib/templates/wordpress/wp-admin/ms-users.php +13 -0
  585. data/lib/templates/wordpress/wp-admin/my-sites.php +143 -0
  586. data/lib/templates/wordpress/wp-admin/nav-menus.php +796 -0
  587. data/lib/templates/wordpress/wp-admin/network.php +580 -0
  588. data/lib/templates/wordpress/wp-admin/network/about.php +16 -0
  589. data/lib/templates/wordpress/wp-admin/network/admin.php +32 -0
  590. data/lib/templates/wordpress/wp-admin/network/credits.php +16 -0
  591. data/lib/templates/wordpress/wp-admin/network/edit.php +42 -0
  592. data/lib/templates/wordpress/wp-admin/network/freedoms.php +16 -0
  593. data/lib/templates/wordpress/wp-admin/network/index.php +79 -0
  594. data/lib/templates/wordpress/wp-admin/network/menu.php +63 -0
  595. data/lib/templates/wordpress/wp-admin/network/plugin-editor.php +16 -0
  596. data/lib/templates/wordpress/wp-admin/network/plugin-install.php +19 -0
  597. data/lib/templates/wordpress/wp-admin/network/plugins.php +16 -0
  598. data/lib/templates/wordpress/wp-admin/network/profile.php +16 -0
  599. data/lib/templates/wordpress/wp-admin/network/settings.php +405 -0
  600. data/lib/templates/wordpress/wp-admin/network/setup.php +16 -0
  601. data/lib/templates/wordpress/wp-admin/network/site-info.php +187 -0
  602. data/lib/templates/wordpress/wp-admin/network/site-new.php +170 -0
  603. data/lib/templates/wordpress/wp-admin/network/site-settings.php +173 -0
  604. data/lib/templates/wordpress/wp-admin/network/site-themes.php +195 -0
  605. data/lib/templates/wordpress/wp-admin/network/site-users.php +317 -0
  606. data/lib/templates/wordpress/wp-admin/network/sites.php +275 -0
  607. data/lib/templates/wordpress/wp-admin/network/theme-editor.php +16 -0
  608. data/lib/templates/wordpress/wp-admin/network/theme-install.php +19 -0
  609. data/lib/templates/wordpress/wp-admin/network/themes.php +323 -0
  610. data/lib/templates/wordpress/wp-admin/network/update-core.php +16 -0
  611. data/lib/templates/wordpress/wp-admin/network/update.php +19 -0
  612. data/lib/templates/wordpress/wp-admin/network/upgrade.php +129 -0
  613. data/lib/templates/wordpress/wp-admin/network/user-edit.php +16 -0
  614. data/lib/templates/wordpress/wp-admin/network/user-new.php +107 -0
  615. data/lib/templates/wordpress/wp-admin/network/users.php +329 -0
  616. data/lib/templates/wordpress/wp-admin/options-discussion.php +306 -0
  617. data/lib/templates/wordpress/wp-admin/options-general.php +387 -0
  618. data/lib/templates/wordpress/wp-admin/options-head.php +18 -0
  619. data/lib/templates/wordpress/wp-admin/options-media.php +136 -0
  620. data/lib/templates/wordpress/wp-admin/options-permalink.php +288 -0
  621. data/lib/templates/wordpress/wp-admin/options-reading.php +182 -0
  622. data/lib/templates/wordpress/wp-admin/options-writing.php +178 -0
  623. data/lib/templates/wordpress/wp-admin/options.php +277 -0
  624. data/lib/templates/wordpress/wp-admin/plugin-editor.php +279 -0
  625. data/lib/templates/wordpress/wp-admin/plugin-install.php +138 -0
  626. data/lib/templates/wordpress/wp-admin/plugins.php +489 -0
  627. data/lib/templates/wordpress/wp-admin/post-new.php +76 -0
  628. data/lib/templates/wordpress/wp-admin/post.php +320 -0
  629. data/lib/templates/wordpress/wp-admin/press-this.php +21 -0
  630. data/lib/templates/wordpress/wp-admin/profile.php +18 -0
  631. data/lib/templates/wordpress/wp-admin/revision.php +135 -0
  632. data/lib/templates/wordpress/wp-admin/setup-config.php +352 -0
  633. data/lib/templates/wordpress/wp-admin/theme-editor.php +241 -0
  634. data/lib/templates/wordpress/wp-admin/theme-install.php +271 -0
  635. data/lib/templates/wordpress/wp-admin/themes.php +422 -0
  636. data/lib/templates/wordpress/wp-admin/tools.php +119 -0
  637. data/lib/templates/wordpress/wp-admin/update-core.php +661 -0
  638. data/lib/templates/wordpress/wp-admin/update.php +272 -0
  639. data/lib/templates/wordpress/wp-admin/upgrade-functions.php +12 -0
  640. data/lib/templates/wordpress/wp-admin/upgrade.php +120 -0
  641. data/lib/templates/wordpress/wp-admin/upload.php +294 -0
  642. data/lib/templates/wordpress/wp-admin/user-edit.php +592 -0
  643. data/lib/templates/wordpress/wp-admin/user-new.php +440 -0
  644. data/lib/templates/wordpress/wp-admin/user/about.php +13 -0
  645. data/lib/templates/wordpress/wp-admin/user/admin.php +32 -0
  646. data/lib/templates/wordpress/wp-admin/user/credits.php +13 -0
  647. data/lib/templates/wordpress/wp-admin/user/freedoms.php +13 -0
  648. data/lib/templates/wordpress/wp-admin/user/index.php +13 -0
  649. data/lib/templates/wordpress/wp-admin/user/menu.php +22 -0
  650. data/lib/templates/wordpress/wp-admin/user/profile.php +13 -0
  651. data/lib/templates/wordpress/wp-admin/user/user-edit.php +13 -0
  652. data/lib/templates/wordpress/wp-admin/users.php +475 -0
  653. data/lib/templates/wordpress/wp-admin/widgets.php +459 -0
  654. data/lib/templates/wordpress/wp-blog-header.php +18 -0
  655. data/lib/templates/wordpress/wp-comments-post.php +167 -0
  656. data/lib/templates/wordpress/wp-config-sample.php +80 -0
  657. data/lib/templates/wordpress/wp-content/index.php +2 -0
  658. data/lib/templates/wordpress/wp-content/plugins/akismet/.htaccess +34 -0
  659. data/lib/templates/wordpress/wp-content/plugins/akismet/_inc/akismet.css +366 -0
  660. data/lib/templates/wordpress/wp-content/plugins/akismet/_inc/akismet.js +160 -0
  661. data/lib/templates/wordpress/wp-content/plugins/akismet/_inc/form.js +30 -0
  662. data/lib/templates/wordpress/wp-content/plugins/akismet/_inc/img/logo-full-2x.png +0 -0
  663. data/lib/templates/wordpress/wp-content/plugins/akismet/akismet.php +59 -0
  664. data/lib/templates/wordpress/wp-content/plugins/akismet/class.akismet-admin.php +885 -0
  665. data/lib/templates/wordpress/wp-content/plugins/akismet/class.akismet-widget.php +110 -0
  666. data/lib/templates/wordpress/wp-content/plugins/akismet/class.akismet.php +1088 -0
  667. data/lib/templates/wordpress/wp-content/plugins/akismet/index.php +2 -0
  668. data/lib/templates/wordpress/wp-content/plugins/akismet/readme.txt +266 -0
  669. data/lib/templates/wordpress/wp-content/plugins/akismet/views/config.php +220 -0
  670. data/lib/templates/wordpress/wp-content/plugins/akismet/views/get.php +5 -0
  671. data/lib/templates/wordpress/wp-content/plugins/akismet/views/notice.php +102 -0
  672. data/lib/templates/wordpress/wp-content/plugins/akismet/views/start.php +95 -0
  673. data/lib/templates/wordpress/wp-content/plugins/akismet/views/stats.php +4 -0
  674. data/lib/templates/wordpress/wp-content/plugins/akismet/views/strict.php +7 -0
  675. data/lib/templates/wordpress/wp-content/plugins/akismet/wrapper.php +213 -0
  676. data/lib/templates/wordpress/wp-content/plugins/index.php +2 -0
  677. data/lib/templates/wordpress/wp-content/themes/index.php +2 -0
  678. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/404.php +30 -0
  679. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/archive.php +64 -0
  680. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/author-bio.php +39 -0
  681. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/comments.php +58 -0
  682. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/content-link.php +60 -0
  683. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/content-none.php +37 -0
  684. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/content-page.php +37 -0
  685. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/content-search.php +37 -0
  686. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/content.php +60 -0
  687. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/css/editor-style.css +493 -0
  688. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/css/ie.css +948 -0
  689. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/css/ie7.css +89 -0
  690. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/footer.php +34 -0
  691. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/functions.php +355 -0
  692. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/genericons/COPYING.txt +9 -0
  693. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/genericons/Genericons.eot +0 -0
  694. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/genericons/Genericons.svg +543 -0
  695. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/genericons/Genericons.ttf +0 -0
  696. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/genericons/Genericons.woff +0 -0
  697. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/genericons/LICENSE.txt +339 -0
  698. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/genericons/README.md +152 -0
  699. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/genericons/example.html +719 -0
  700. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/genericons/genericons.css +209 -0
  701. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/header.php +50 -0
  702. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/image.php +94 -0
  703. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/inc/back-compat.php +63 -0
  704. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/inc/custom-header.php +356 -0
  705. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/inc/customizer.php +715 -0
  706. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/inc/template-tags.php +242 -0
  707. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/index.php +61 -0
  708. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/js/color-scheme-control.js +78 -0
  709. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/js/customize-preview.js +35 -0
  710. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/js/functions.js +162 -0
  711. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/js/html5.js +9 -0
  712. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/js/keyboard-image-navigation.js +22 -0
  713. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/js/skip-link-focus-fix.js +26 -0
  714. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/languages/twentyfifteen.pot +328 -0
  715. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/page.php +38 -0
  716. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/readme.txt +92 -0
  717. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/rtl.css +840 -0
  718. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/screenshot.png +0 -0
  719. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/search.php +53 -0
  720. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/sidebar.php +47 -0
  721. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/single.php +48 -0
  722. data/lib/templates/wordpress/wp-content/themes/twentyfifteen/style.css +5994 -0
  723. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/404.php +32 -0
  724. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/archive.php +74 -0
  725. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/author.php +74 -0
  726. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/category.php +58 -0
  727. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/comments.php +66 -0
  728. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/content-aside.php +62 -0
  729. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/content-audio.php +62 -0
  730. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/content-featured-post.php +34 -0
  731. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/content-gallery.php +62 -0
  732. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/content-image.php +62 -0
  733. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/content-link.php +62 -0
  734. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/content-none.php +31 -0
  735. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/content-page.php +31 -0
  736. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/content-quote.php +62 -0
  737. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/content-video.php +62 -0
  738. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/content.php +71 -0
  739. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/css/editor-style.css +737 -0
  740. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/css/ie.css +1335 -0
  741. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/featured-content.php +39 -0
  742. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/footer.php +28 -0
  743. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/functions.php +519 -0
  744. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/genericons/COPYING.txt +9 -0
  745. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/genericons/Genericons-Regular.otf +0 -0
  746. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/genericons/LICENSE.txt +339 -0
  747. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/genericons/README.txt +123 -0
  748. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/genericons/example.html +464 -0
  749. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.eot +0 -0
  750. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.svg +135 -0
  751. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.ttf +0 -0
  752. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.woff +0 -0
  753. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/genericons/genericons.css +197 -0
  754. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/header.php +65 -0
  755. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/image.php +79 -0
  756. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/images/pattern-dark.svg +16 -0
  757. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/images/pattern-light.svg +6 -0
  758. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/inc/back-compat.php +63 -0
  759. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/inc/custom-header.php +147 -0
  760. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/inc/customizer.php +115 -0
  761. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/inc/featured-content.php +531 -0
  762. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/inc/template-tags.php +227 -0
  763. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/inc/widgets.php +269 -0
  764. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/index.php +61 -0
  765. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/js/customizer.js +38 -0
  766. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/js/featured-content-admin.js +9 -0
  767. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/js/functions.js +170 -0
  768. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/js/html5.js +8 -0
  769. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/js/keyboard-image-navigation.js +21 -0
  770. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/js/slider.js +598 -0
  771. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/languages/twentyfourteen.pot +480 -0
  772. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/page-templates/contributors.php +52 -0
  773. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/page-templates/full-width.php +42 -0
  774. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/page.php +48 -0
  775. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/rtl.css +854 -0
  776. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/screenshot.png +0 -0
  777. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/search.php +49 -0
  778. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/sidebar-content.php +16 -0
  779. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/sidebar-footer.php +19 -0
  780. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/sidebar.php +29 -0
  781. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/single.php +40 -0
  782. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/style.css +4321 -0
  783. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/tag.php +60 -0
  784. data/lib/templates/wordpress/wp-content/themes/twentyfourteen/taxonomy-post_format.php +85 -0
  785. data/lib/templates/wordpress/wp-content/themes/twentythirteen/404.php +31 -0
  786. data/lib/templates/wordpress/wp-content/themes/twentythirteen/archive.php +55 -0
  787. data/lib/templates/wordpress/wp-content/themes/twentythirteen/author-bio.php +34 -0
  788. data/lib/templates/wordpress/wp-content/themes/twentythirteen/author.php +62 -0
  789. data/lib/templates/wordpress/wp-content/themes/twentythirteen/category.php +41 -0
  790. data/lib/templates/wordpress/wp-content/themes/twentythirteen/comments.php +59 -0
  791. data/lib/templates/wordpress/wp-content/themes/twentythirteen/content-aside.php +38 -0
  792. data/lib/templates/wordpress/wp-content/themes/twentythirteen/content-audio.php +44 -0
  793. data/lib/templates/wordpress/wp-content/themes/twentythirteen/content-chat.php +38 -0
  794. data/lib/templates/wordpress/wp-content/themes/twentythirteen/content-gallery.php +52 -0
  795. data/lib/templates/wordpress/wp-content/themes/twentythirteen/content-image.php +48 -0
  796. data/lib/templates/wordpress/wp-content/themes/twentythirteen/content-link.php +43 -0
  797. data/lib/templates/wordpress/wp-content/themes/twentythirteen/content-none.php +31 -0
  798. data/lib/templates/wordpress/wp-content/themes/twentythirteen/content-quote.php +34 -0
  799. data/lib/templates/wordpress/wp-content/themes/twentythirteen/content-status.php +32 -0
  800. data/lib/templates/wordpress/wp-content/themes/twentythirteen/content-video.php +48 -0
  801. data/lib/templates/wordpress/wp-content/themes/twentythirteen/content.php +64 -0
  802. data/lib/templates/wordpress/wp-content/themes/twentythirteen/css/editor-style.css +787 -0
  803. data/lib/templates/wordpress/wp-content/themes/twentythirteen/css/ie.css +288 -0
  804. data/lib/templates/wordpress/wp-content/themes/twentythirteen/footer.php +26 -0
  805. data/lib/templates/wordpress/wp-content/themes/twentythirteen/functions.php +552 -0
  806. data/lib/templates/wordpress/wp-content/themes/twentythirteen/genericons/COPYING.txt +9 -0
  807. data/lib/templates/wordpress/wp-content/themes/twentythirteen/genericons/Genericons-Regular.otf +0 -0
  808. data/lib/templates/wordpress/wp-content/themes/twentythirteen/genericons/LICENSE.txt +339 -0
  809. data/lib/templates/wordpress/wp-content/themes/twentythirteen/genericons/README.txt +123 -0
  810. data/lib/templates/wordpress/wp-content/themes/twentythirteen/genericons/example.html +464 -0
  811. data/lib/templates/wordpress/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.eot +0 -0
  812. data/lib/templates/wordpress/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.svg +135 -0
  813. data/lib/templates/wordpress/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.ttf +0 -0
  814. data/lib/templates/wordpress/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.woff +0 -0
  815. data/lib/templates/wordpress/wp-content/themes/twentythirteen/genericons/genericons.css +197 -0
  816. data/lib/templates/wordpress/wp-content/themes/twentythirteen/header.php +51 -0
  817. data/lib/templates/wordpress/wp-content/themes/twentythirteen/image.php +82 -0
  818. data/lib/templates/wordpress/wp-content/themes/twentythirteen/images/dotted-line-2x.png +0 -0
  819. data/lib/templates/wordpress/wp-content/themes/twentythirteen/images/dotted-line-light-2x.png +0 -0
  820. data/lib/templates/wordpress/wp-content/themes/twentythirteen/images/dotted-line-light.png +0 -0
  821. data/lib/templates/wordpress/wp-content/themes/twentythirteen/images/dotted-line.png +0 -0
  822. data/lib/templates/wordpress/wp-content/themes/twentythirteen/images/headers/circle-thumbnail.png +0 -0
  823. data/lib/templates/wordpress/wp-content/themes/twentythirteen/images/headers/circle.png +0 -0
  824. data/lib/templates/wordpress/wp-content/themes/twentythirteen/images/headers/diamond-thumbnail.png +0 -0
  825. data/lib/templates/wordpress/wp-content/themes/twentythirteen/images/headers/diamond.png +0 -0
  826. data/lib/templates/wordpress/wp-content/themes/twentythirteen/images/headers/star-thumbnail.png +0 -0
  827. data/lib/templates/wordpress/wp-content/themes/twentythirteen/images/headers/star.png +0 -0
  828. data/lib/templates/wordpress/wp-content/themes/twentythirteen/images/search-icon-2x.png +0 -0
  829. data/lib/templates/wordpress/wp-content/themes/twentythirteen/images/search-icon.png +0 -0
  830. data/lib/templates/wordpress/wp-content/themes/twentythirteen/inc/back-compat.php +63 -0
  831. data/lib/templates/wordpress/wp-content/themes/twentythirteen/inc/custom-header.php +230 -0
  832. data/lib/templates/wordpress/wp-content/themes/twentythirteen/index.php +38 -0
  833. data/lib/templates/wordpress/wp-content/themes/twentythirteen/js/functions.js +132 -0
  834. data/lib/templates/wordpress/wp-content/themes/twentythirteen/js/html5.js +8 -0
  835. data/lib/templates/wordpress/wp-content/themes/twentythirteen/js/theme-customizer.js +41 -0
  836. data/lib/templates/wordpress/wp-content/themes/twentythirteen/languages/twentythirteen.pot +336 -0
  837. data/lib/templates/wordpress/wp-content/themes/twentythirteen/page.php +50 -0
  838. data/lib/templates/wordpress/wp-content/themes/twentythirteen/rtl.css +766 -0
  839. data/lib/templates/wordpress/wp-content/themes/twentythirteen/screenshot.png +0 -0
  840. data/lib/templates/wordpress/wp-content/themes/twentythirteen/search.php +36 -0
  841. data/lib/templates/wordpress/wp-content/themes/twentythirteen/sidebar-main.php +18 -0
  842. data/lib/templates/wordpress/wp-content/themes/twentythirteen/sidebar.php +22 -0
  843. data/lib/templates/wordpress/wp-content/themes/twentythirteen/single.php +28 -0
  844. data/lib/templates/wordpress/wp-content/themes/twentythirteen/style.css +3227 -0
  845. data/lib/templates/wordpress/wp-content/themes/twentythirteen/tag.php +43 -0
  846. data/lib/templates/wordpress/wp-content/themes/twentythirteen/taxonomy-post_format.php +41 -0
  847. data/lib/templates/wordpress/wp-cron.php +124 -0
  848. data/lib/templates/wordpress/wp-includes/ID3/getid3.lib.php +1376 -0
  849. data/lib/templates/wordpress/wp-includes/ID3/getid3.php +1796 -0
  850. data/lib/templates/wordpress/wp-includes/ID3/license.commercial.txt +27 -0
  851. data/lib/templates/wordpress/wp-includes/ID3/license.txt +29 -0
  852. data/lib/templates/wordpress/wp-includes/ID3/module.audio-video.asf.php +2013 -0
  853. data/lib/templates/wordpress/wp-includes/ID3/module.audio-video.flv.php +745 -0
  854. data/lib/templates/wordpress/wp-includes/ID3/module.audio-video.matroska.php +1751 -0
  855. data/lib/templates/wordpress/wp-includes/ID3/module.audio-video.quicktime.php +2246 -0
  856. data/lib/templates/wordpress/wp-includes/ID3/module.audio-video.riff.php +2586 -0
  857. data/lib/templates/wordpress/wp-includes/ID3/module.audio.ac3.php +474 -0
  858. data/lib/templates/wordpress/wp-includes/ID3/module.audio.dts.php +291 -0
  859. data/lib/templates/wordpress/wp-includes/ID3/module.audio.flac.php +443 -0
  860. data/lib/templates/wordpress/wp-includes/ID3/module.audio.mp3.php +2012 -0
  861. data/lib/templates/wordpress/wp-includes/ID3/module.audio.ogg.php +756 -0
  862. data/lib/templates/wordpress/wp-includes/ID3/module.tag.apetag.php +371 -0
  863. data/lib/templates/wordpress/wp-includes/ID3/module.tag.id3v1.php +360 -0
  864. data/lib/templates/wordpress/wp-includes/ID3/module.tag.id3v2.php +3424 -0
  865. data/lib/templates/wordpress/wp-includes/ID3/module.tag.lyrics3.php +294 -0
  866. data/lib/templates/wordpress/wp-includes/ID3/readme.txt +604 -0
  867. data/lib/templates/wordpress/wp-includes/SimplePie/Author.php +157 -0
  868. data/lib/templates/wordpress/wp-includes/SimplePie/Cache.php +133 -0
  869. data/lib/templates/wordpress/wp-includes/SimplePie/Cache/Base.php +114 -0
  870. data/lib/templates/wordpress/wp-includes/SimplePie/Cache/DB.php +137 -0
  871. data/lib/templates/wordpress/wp-includes/SimplePie/Cache/File.php +173 -0
  872. data/lib/templates/wordpress/wp-includes/SimplePie/Cache/Memcache.php +183 -0
  873. data/lib/templates/wordpress/wp-includes/SimplePie/Cache/MySQL.php +438 -0
  874. data/lib/templates/wordpress/wp-includes/SimplePie/Caption.php +210 -0
  875. data/lib/templates/wordpress/wp-includes/SimplePie/Category.php +157 -0
  876. data/lib/templates/wordpress/wp-includes/SimplePie/Content/Type/Sniffer.php +332 -0
  877. data/lib/templates/wordpress/wp-includes/SimplePie/Copyright.php +130 -0
  878. data/lib/templates/wordpress/wp-includes/SimplePie/Core.php +57 -0
  879. data/lib/templates/wordpress/wp-includes/SimplePie/Credit.php +156 -0
  880. data/lib/templates/wordpress/wp-includes/SimplePie/Decode/HTML/Entities.php +617 -0
  881. data/lib/templates/wordpress/wp-includes/SimplePie/Enclosure.php +1380 -0
  882. data/lib/templates/wordpress/wp-includes/SimplePie/Exception.php +52 -0
  883. data/lib/templates/wordpress/wp-includes/SimplePie/File.php +292 -0
  884. data/lib/templates/wordpress/wp-includes/SimplePie/HTTP/Parser.php +500 -0
  885. data/lib/templates/wordpress/wp-includes/SimplePie/IRI.php +1238 -0
  886. data/lib/templates/wordpress/wp-includes/SimplePie/Item.php +2964 -0
  887. data/lib/templates/wordpress/wp-includes/SimplePie/Locator.php +372 -0
  888. data/lib/templates/wordpress/wp-includes/SimplePie/Misc.php +2247 -0
  889. data/lib/templates/wordpress/wp-includes/SimplePie/Net/IPv6.php +276 -0
  890. data/lib/templates/wordpress/wp-includes/SimplePie/Parse/Date.php +983 -0
  891. data/lib/templates/wordpress/wp-includes/SimplePie/Parser.php +407 -0
  892. data/lib/templates/wordpress/wp-includes/SimplePie/Rating.php +129 -0
  893. data/lib/templates/wordpress/wp-includes/SimplePie/Registry.php +225 -0
  894. data/lib/templates/wordpress/wp-includes/SimplePie/Restriction.php +155 -0
  895. data/lib/templates/wordpress/wp-includes/SimplePie/Sanitize.php +554 -0
  896. data/lib/templates/wordpress/wp-includes/SimplePie/Source.php +611 -0
  897. data/lib/templates/wordpress/wp-includes/SimplePie/XML/Declaration/Parser.php +362 -0
  898. data/lib/templates/wordpress/wp-includes/SimplePie/gzdecode.php +371 -0
  899. data/lib/templates/wordpress/wp-includes/Text/Diff.php +450 -0
  900. data/lib/templates/wordpress/wp-includes/Text/Diff/Engine/native.php +436 -0
  901. data/lib/templates/wordpress/wp-includes/Text/Diff/Engine/shell.php +162 -0
  902. data/lib/templates/wordpress/wp-includes/Text/Diff/Engine/string.php +248 -0
  903. data/lib/templates/wordpress/wp-includes/Text/Diff/Engine/xdiff.php +64 -0
  904. data/lib/templates/wordpress/wp-includes/Text/Diff/Renderer.php +235 -0
  905. data/lib/templates/wordpress/wp-includes/Text/Diff/Renderer/inline.php +206 -0
  906. data/lib/templates/wordpress/wp-includes/admin-bar.php +959 -0
  907. data/lib/templates/wordpress/wp-includes/atomlib.php +352 -0
  908. data/lib/templates/wordpress/wp-includes/author-template.php +453 -0
  909. data/lib/templates/wordpress/wp-includes/bookmark-template.php +298 -0
  910. data/lib/templates/wordpress/wp-includes/bookmark.php +415 -0
  911. data/lib/templates/wordpress/wp-includes/cache.php +714 -0
  912. data/lib/templates/wordpress/wp-includes/canonical.php +587 -0
  913. data/lib/templates/wordpress/wp-includes/capabilities.php +1575 -0
  914. data/lib/templates/wordpress/wp-includes/category-template.php +1459 -0
  915. data/lib/templates/wordpress/wp-includes/category.php +339 -0
  916. data/lib/templates/wordpress/wp-includes/certificates/ca-bundle.crt +3785 -0
  917. data/lib/templates/wordpress/wp-includes/class-IXR.php +1111 -0
  918. data/lib/templates/wordpress/wp-includes/class-feed.php +141 -0
  919. data/lib/templates/wordpress/wp-includes/class-http.php +2276 -0
  920. data/lib/templates/wordpress/wp-includes/class-json.php +936 -0
  921. data/lib/templates/wordpress/wp-includes/class-oembed.php +615 -0
  922. data/lib/templates/wordpress/wp-includes/class-phpass.php +268 -0
  923. data/lib/templates/wordpress/wp-includes/class-phpmailer.php +3265 -0
  924. data/lib/templates/wordpress/wp-includes/class-pop3.php +652 -0
  925. data/lib/templates/wordpress/wp-includes/class-simplepie.php +3119 -0
  926. data/lib/templates/wordpress/wp-includes/class-smtp.php +943 -0
  927. data/lib/templates/wordpress/wp-includes/class-snoopy.php +1256 -0
  928. data/lib/templates/wordpress/wp-includes/class-wp-admin-bar.php +519 -0
  929. data/lib/templates/wordpress/wp-includes/class-wp-ajax-response.php +145 -0
  930. data/lib/templates/wordpress/wp-includes/class-wp-customize-control.php +1378 -0
  931. data/lib/templates/wordpress/wp-includes/class-wp-customize-manager.php +1591 -0
  932. data/lib/templates/wordpress/wp-includes/class-wp-customize-panel.php +333 -0
  933. data/lib/templates/wordpress/wp-includes/class-wp-customize-section.php +453 -0
  934. data/lib/templates/wordpress/wp-includes/class-wp-customize-setting.php +629 -0
  935. data/lib/templates/wordpress/wp-includes/class-wp-customize-widgets.php +1549 -0
  936. data/lib/templates/wordpress/wp-includes/class-wp-editor.php +1492 -0
  937. data/lib/templates/wordpress/wp-includes/class-wp-embed.php +357 -0
  938. data/lib/templates/wordpress/wp-includes/class-wp-error.php +219 -0
  939. data/lib/templates/wordpress/wp-includes/class-wp-http-ixr-client.php +108 -0
  940. data/lib/templates/wordpress/wp-includes/class-wp-image-editor-gd.php +470 -0
  941. data/lib/templates/wordpress/wp-includes/class-wp-image-editor-imagick.php +516 -0
  942. data/lib/templates/wordpress/wp-includes/class-wp-image-editor.php +485 -0
  943. data/lib/templates/wordpress/wp-includes/class-wp-theme.php +1237 -0
  944. data/lib/templates/wordpress/wp-includes/class-wp-walker.php +416 -0
  945. data/lib/templates/wordpress/wp-includes/class-wp-xmlrpc-server.php +5935 -0
  946. data/lib/templates/wordpress/wp-includes/class-wp.php +714 -0
  947. data/lib/templates/wordpress/wp-includes/class.wp-dependencies.php +509 -0
  948. data/lib/templates/wordpress/wp-includes/class.wp-scripts.php +284 -0
  949. data/lib/templates/wordpress/wp-includes/class.wp-styles.php +248 -0
  950. data/lib/templates/wordpress/wp-includes/comment-template.php +2421 -0
  951. data/lib/templates/wordpress/wp-includes/comment.php +3066 -0
  952. data/lib/templates/wordpress/wp-includes/compat.php +149 -0
  953. data/lib/templates/wordpress/wp-includes/cron.php +470 -0
  954. data/lib/templates/wordpress/wp-includes/css/admin-bar-rtl.css +1123 -0
  955. data/lib/templates/wordpress/wp-includes/css/admin-bar-rtl.min.css +1 -0
  956. data/lib/templates/wordpress/wp-includes/css/admin-bar.css +1123 -0
  957. data/lib/templates/wordpress/wp-includes/css/admin-bar.min.css +1 -0
  958. data/lib/templates/wordpress/wp-includes/css/buttons-rtl.css +360 -0
  959. data/lib/templates/wordpress/wp-includes/css/buttons-rtl.min.css +1 -0
  960. data/lib/templates/wordpress/wp-includes/css/buttons.css +360 -0
  961. data/lib/templates/wordpress/wp-includes/css/buttons.min.css +1 -0
  962. data/lib/templates/wordpress/wp-includes/css/dashicons.css +958 -0
  963. data/lib/templates/wordpress/wp-includes/css/dashicons.min.css +1 -0
  964. data/lib/templates/wordpress/wp-includes/css/editor-rtl.css +2143 -0
  965. data/lib/templates/wordpress/wp-includes/css/editor-rtl.min.css +1 -0
  966. data/lib/templates/wordpress/wp-includes/css/editor.css +2143 -0
  967. data/lib/templates/wordpress/wp-includes/css/editor.min.css +1 -0
  968. data/lib/templates/wordpress/wp-includes/css/jquery-ui-dialog-rtl.css +362 -0
  969. data/lib/templates/wordpress/wp-includes/css/jquery-ui-dialog-rtl.min.css +17 -0
  970. data/lib/templates/wordpress/wp-includes/css/jquery-ui-dialog.css +362 -0
  971. data/lib/templates/wordpress/wp-includes/css/jquery-ui-dialog.min.css +17 -0
  972. data/lib/templates/wordpress/wp-includes/css/media-views-rtl.css +2601 -0
  973. data/lib/templates/wordpress/wp-includes/css/media-views-rtl.min.css +8 -0
  974. data/lib/templates/wordpress/wp-includes/css/media-views.css +2601 -0
  975. data/lib/templates/wordpress/wp-includes/css/media-views.min.css +8 -0
  976. data/lib/templates/wordpress/wp-includes/css/wp-auth-check-rtl.css +109 -0
  977. data/lib/templates/wordpress/wp-includes/css/wp-auth-check-rtl.min.css +1 -0
  978. data/lib/templates/wordpress/wp-includes/css/wp-auth-check.css +109 -0
  979. data/lib/templates/wordpress/wp-includes/css/wp-auth-check.min.css +1 -0
  980. data/lib/templates/wordpress/wp-includes/css/wp-pointer-rtl.css +212 -0
  981. data/lib/templates/wordpress/wp-includes/css/wp-pointer-rtl.min.css +1 -0
  982. data/lib/templates/wordpress/wp-includes/css/wp-pointer.css +212 -0
  983. data/lib/templates/wordpress/wp-includes/css/wp-pointer.min.css +1 -0
  984. data/lib/templates/wordpress/wp-includes/date.php +1013 -0
  985. data/lib/templates/wordpress/wp-includes/default-constants.php +323 -0
  986. data/lib/templates/wordpress/wp-includes/default-filters.php +392 -0
  987. data/lib/templates/wordpress/wp-includes/default-widgets.php +1479 -0
  988. data/lib/templates/wordpress/wp-includes/deprecated.php +3493 -0
  989. data/lib/templates/wordpress/wp-includes/feed-atom-comments.php +115 -0
  990. data/lib/templates/wordpress/wp-includes/feed-atom.php +87 -0
  991. data/lib/templates/wordpress/wp-includes/feed-rdf.php +85 -0
  992. data/lib/templates/wordpress/wp-includes/feed-rss.php +46 -0
  993. data/lib/templates/wordpress/wp-includes/feed-rss2-comments.php +101 -0
  994. data/lib/templates/wordpress/wp-includes/feed-rss2.php +117 -0
  995. data/lib/templates/wordpress/wp-includes/feed.php +651 -0
  996. data/lib/templates/wordpress/wp-includes/fonts/dashicons.eot +0 -0
  997. data/lib/templates/wordpress/wp-includes/fonts/dashicons.svg +253 -0
  998. data/lib/templates/wordpress/wp-includes/fonts/dashicons.ttf +0 -0
  999. data/lib/templates/wordpress/wp-includes/fonts/dashicons.woff +0 -0
  1000. data/lib/templates/wordpress/wp-includes/formatting.php +4377 -0
  1001. data/lib/templates/wordpress/wp-includes/functions.php +4847 -0
  1002. data/lib/templates/wordpress/wp-includes/functions.wp-scripts.php +296 -0
  1003. data/lib/templates/wordpress/wp-includes/functions.wp-styles.php +222 -0
  1004. data/lib/templates/wordpress/wp-includes/general-template.php +3159 -0
  1005. data/lib/templates/wordpress/wp-includes/http.php +552 -0
  1006. data/lib/templates/wordpress/wp-includes/images/admin-bar-sprite-2x.png +0 -0
  1007. data/lib/templates/wordpress/wp-includes/images/admin-bar-sprite.png +0 -0
  1008. data/lib/templates/wordpress/wp-includes/images/arrow-pointer-blue-2x.png +0 -0
  1009. data/lib/templates/wordpress/wp-includes/images/arrow-pointer-blue.png +0 -0
  1010. data/lib/templates/wordpress/wp-includes/images/blank.gif +0 -0
  1011. data/lib/templates/wordpress/wp-includes/images/crystal/archive.png +0 -0
  1012. data/lib/templates/wordpress/wp-includes/images/crystal/audio.png +0 -0
  1013. data/lib/templates/wordpress/wp-includes/images/crystal/code.png +0 -0
  1014. data/lib/templates/wordpress/wp-includes/images/crystal/default.png +0 -0
  1015. data/lib/templates/wordpress/wp-includes/images/crystal/document.png +0 -0
  1016. data/lib/templates/wordpress/wp-includes/images/crystal/interactive.png +0 -0
  1017. data/lib/templates/wordpress/wp-includes/images/crystal/license.txt +9 -0
  1018. data/lib/templates/wordpress/wp-includes/images/crystal/spreadsheet.png +0 -0
  1019. data/lib/templates/wordpress/wp-includes/images/crystal/text.png +0 -0
  1020. data/lib/templates/wordpress/wp-includes/images/crystal/video.png +0 -0
  1021. data/lib/templates/wordpress/wp-includes/images/down_arrow-2x.gif +0 -0
  1022. data/lib/templates/wordpress/wp-includes/images/down_arrow.gif +0 -0
  1023. data/lib/templates/wordpress/wp-includes/images/icon-pointer-flag-2x.png +0 -0
  1024. data/lib/templates/wordpress/wp-includes/images/icon-pointer-flag.png +0 -0
  1025. data/lib/templates/wordpress/wp-includes/images/media/archive.png +0 -0
  1026. data/lib/templates/wordpress/wp-includes/images/media/audio.png +0 -0
  1027. data/lib/templates/wordpress/wp-includes/images/media/code.png +0 -0
  1028. data/lib/templates/wordpress/wp-includes/images/media/default.png +0 -0
  1029. data/lib/templates/wordpress/wp-includes/images/media/document.png +0 -0
  1030. data/lib/templates/wordpress/wp-includes/images/media/interactive.png +0 -0
  1031. data/lib/templates/wordpress/wp-includes/images/media/spreadsheet.png +0 -0
  1032. data/lib/templates/wordpress/wp-includes/images/media/text.png +0 -0
  1033. data/lib/templates/wordpress/wp-includes/images/media/video.png +0 -0
  1034. data/lib/templates/wordpress/wp-includes/images/rss-2x.png +0 -0
  1035. data/lib/templates/wordpress/wp-includes/images/rss.png +0 -0
  1036. data/lib/templates/wordpress/wp-includes/images/smilies/frownie.png +0 -0
  1037. data/lib/templates/wordpress/wp-includes/images/smilies/icon_arrow.gif +0 -0
  1038. data/lib/templates/wordpress/wp-includes/images/smilies/icon_biggrin.gif +0 -0
  1039. data/lib/templates/wordpress/wp-includes/images/smilies/icon_confused.gif +0 -0
  1040. data/lib/templates/wordpress/wp-includes/images/smilies/icon_cool.gif +0 -0
  1041. data/lib/templates/wordpress/wp-includes/images/smilies/icon_cry.gif +0 -0
  1042. data/lib/templates/wordpress/wp-includes/images/smilies/icon_eek.gif +0 -0
  1043. data/lib/templates/wordpress/wp-includes/images/smilies/icon_evil.gif +0 -0
  1044. data/lib/templates/wordpress/wp-includes/images/smilies/icon_exclaim.gif +0 -0
  1045. data/lib/templates/wordpress/wp-includes/images/smilies/icon_idea.gif +0 -0
  1046. data/lib/templates/wordpress/wp-includes/images/smilies/icon_lol.gif +0 -0
  1047. data/lib/templates/wordpress/wp-includes/images/smilies/icon_mad.gif +0 -0
  1048. data/lib/templates/wordpress/wp-includes/images/smilies/icon_mrgreen.gif +0 -0
  1049. data/lib/templates/wordpress/wp-includes/images/smilies/icon_neutral.gif +0 -0
  1050. data/lib/templates/wordpress/wp-includes/images/smilies/icon_question.gif +0 -0
  1051. data/lib/templates/wordpress/wp-includes/images/smilies/icon_razz.gif +0 -0
  1052. data/lib/templates/wordpress/wp-includes/images/smilies/icon_redface.gif +0 -0
  1053. data/lib/templates/wordpress/wp-includes/images/smilies/icon_rolleyes.gif +0 -0
  1054. data/lib/templates/wordpress/wp-includes/images/smilies/icon_sad.gif +0 -0
  1055. data/lib/templates/wordpress/wp-includes/images/smilies/icon_smile.gif +0 -0
  1056. data/lib/templates/wordpress/wp-includes/images/smilies/icon_surprised.gif +0 -0
  1057. data/lib/templates/wordpress/wp-includes/images/smilies/icon_twisted.gif +0 -0
  1058. data/lib/templates/wordpress/wp-includes/images/smilies/icon_wink.gif +0 -0
  1059. data/lib/templates/wordpress/wp-includes/images/smilies/mrgreen.png +0 -0
  1060. data/lib/templates/wordpress/wp-includes/images/smilies/rolleyes.png +0 -0
  1061. data/lib/templates/wordpress/wp-includes/images/smilies/simple-smile.png +0 -0
  1062. data/lib/templates/wordpress/wp-includes/images/spinner-2x.gif +0 -0
  1063. data/lib/templates/wordpress/wp-includes/images/spinner.gif +0 -0
  1064. data/lib/templates/wordpress/wp-includes/images/toggle-arrow-2x.png +0 -0
  1065. data/lib/templates/wordpress/wp-includes/images/toggle-arrow.png +0 -0
  1066. data/lib/templates/wordpress/wp-includes/images/uploader-icons-2x.png +0 -0
  1067. data/lib/templates/wordpress/wp-includes/images/uploader-icons.png +0 -0
  1068. data/lib/templates/wordpress/wp-includes/images/wlw/wp-comments.png +0 -0
  1069. data/lib/templates/wordpress/wp-includes/images/wlw/wp-icon.png +0 -0
  1070. data/lib/templates/wordpress/wp-includes/images/wlw/wp-watermark.png +0 -0
  1071. data/lib/templates/wordpress/wp-includes/images/wpicons-2x.png +0 -0
  1072. data/lib/templates/wordpress/wp-includes/images/wpicons.png +0 -0
  1073. data/lib/templates/wordpress/wp-includes/images/wpspin-2x.gif +0 -0
  1074. data/lib/templates/wordpress/wp-includes/images/wpspin.gif +0 -0
  1075. data/lib/templates/wordpress/wp-includes/images/xit-2x.gif +0 -0
  1076. data/lib/templates/wordpress/wp-includes/images/xit.gif +0 -0
  1077. data/lib/templates/wordpress/wp-includes/js/admin-bar.js +379 -0
  1078. data/lib/templates/wordpress/wp-includes/js/admin-bar.min.js +1 -0
  1079. data/lib/templates/wordpress/wp-includes/js/autosave.js +591 -0
  1080. data/lib/templates/wordpress/wp-includes/js/autosave.min.js +1 -0
  1081. data/lib/templates/wordpress/wp-includes/js/backbone.min.js +1 -0
  1082. data/lib/templates/wordpress/wp-includes/js/colorpicker.js +707 -0
  1083. data/lib/templates/wordpress/wp-includes/js/colorpicker.min.js +1 -0
  1084. data/lib/templates/wordpress/wp-includes/js/comment-reply.js +47 -0
  1085. data/lib/templates/wordpress/wp-includes/js/comment-reply.min.js +1 -0
  1086. data/lib/templates/wordpress/wp-includes/js/crop/cropper.css +165 -0
  1087. data/lib/templates/wordpress/wp-includes/js/crop/cropper.js +516 -0
  1088. data/lib/templates/wordpress/wp-includes/js/crop/marqueeHoriz.gif +0 -0
  1089. data/lib/templates/wordpress/wp-includes/js/crop/marqueeVert.gif +0 -0
  1090. data/lib/templates/wordpress/wp-includes/js/customize-base.js +647 -0
  1091. data/lib/templates/wordpress/wp-includes/js/customize-base.min.js +1 -0
  1092. data/lib/templates/wordpress/wp-includes/js/customize-loader.js +259 -0
  1093. data/lib/templates/wordpress/wp-includes/js/customize-loader.min.js +1 -0
  1094. data/lib/templates/wordpress/wp-includes/js/customize-models.js +247 -0
  1095. data/lib/templates/wordpress/wp-includes/js/customize-models.min.js +1 -0
  1096. data/lib/templates/wordpress/wp-includes/js/customize-preview-widgets.js +129 -0
  1097. data/lib/templates/wordpress/wp-includes/js/customize-preview-widgets.min.js +1 -0
  1098. data/lib/templates/wordpress/wp-includes/js/customize-preview.js +171 -0
  1099. data/lib/templates/wordpress/wp-includes/js/customize-preview.min.js +1 -0
  1100. data/lib/templates/wordpress/wp-includes/js/customize-views.js +231 -0
  1101. data/lib/templates/wordpress/wp-includes/js/customize-views.min.js +1 -0
  1102. data/lib/templates/wordpress/wp-includes/js/heartbeat.js +750 -0
  1103. data/lib/templates/wordpress/wp-includes/js/heartbeat.min.js +1 -0
  1104. data/lib/templates/wordpress/wp-includes/js/hoverIntent.js +115 -0
  1105. data/lib/templates/wordpress/wp-includes/js/hoverIntent.min.js +1 -0
  1106. data/lib/templates/wordpress/wp-includes/js/imgareaselect/border-anim-h.gif +0 -0
  1107. data/lib/templates/wordpress/wp-includes/js/imgareaselect/border-anim-v.gif +0 -0
  1108. data/lib/templates/wordpress/wp-includes/js/imgareaselect/imgareaselect.css +41 -0
  1109. data/lib/templates/wordpress/wp-includes/js/imgareaselect/jquery.imgareaselect.js +1205 -0
  1110. data/lib/templates/wordpress/wp-includes/js/imgareaselect/jquery.imgareaselect.min.js +1 -0
  1111. data/lib/templates/wordpress/wp-includes/js/jcrop/Jcrop.gif +0 -0
  1112. data/lib/templates/wordpress/wp-includes/js/jcrop/jquery.Jcrop.min.css +29 -0
  1113. data/lib/templates/wordpress/wp-includes/js/jcrop/jquery.Jcrop.min.js +22 -0
  1114. data/lib/templates/wordpress/wp-includes/js/jquery/jquery-migrate.js +521 -0
  1115. data/lib/templates/wordpress/wp-includes/js/jquery/jquery-migrate.min.js +2 -0
  1116. data/lib/templates/wordpress/wp-includes/js/jquery/jquery.color.min.js +2 -0
  1117. data/lib/templates/wordpress/wp-includes/js/jquery/jquery.form.js +1193 -0
  1118. data/lib/templates/wordpress/wp-includes/js/jquery/jquery.form.min.js +11 -0
  1119. data/lib/templates/wordpress/wp-includes/js/jquery/jquery.hotkeys.js +134 -0
  1120. data/lib/templates/wordpress/wp-includes/js/jquery/jquery.hotkeys.min.js +1 -0
  1121. data/lib/templates/wordpress/wp-includes/js/jquery/jquery.js +5 -0
  1122. data/lib/templates/wordpress/wp-includes/js/jquery/jquery.masonry.min.js +11 -0
  1123. data/lib/templates/wordpress/wp-includes/js/jquery/jquery.query.js +11 -0
  1124. data/lib/templates/wordpress/wp-includes/js/jquery/jquery.schedule.js +36 -0
  1125. data/lib/templates/wordpress/wp-includes/js/jquery/jquery.serialize-object.js +31 -0
  1126. data/lib/templates/wordpress/wp-includes/js/jquery/jquery.table-hotkeys.js +99 -0
  1127. data/lib/templates/wordpress/wp-includes/js/jquery/jquery.table-hotkeys.min.js +1 -0
  1128. data/lib/templates/wordpress/wp-includes/js/jquery/jquery.ui.touch-punch.js +11 -0
  1129. data/lib/templates/wordpress/wp-includes/js/jquery/suggest.js +316 -0
  1130. data/lib/templates/wordpress/wp-includes/js/jquery/suggest.min.js +1 -0
  1131. data/lib/templates/wordpress/wp-includes/js/jquery/ui/accordion.min.js +11 -0
  1132. data/lib/templates/wordpress/wp-includes/js/jquery/ui/autocomplete.min.js +11 -0
  1133. data/lib/templates/wordpress/wp-includes/js/jquery/ui/button.min.js +11 -0
  1134. data/lib/templates/wordpress/wp-includes/js/jquery/ui/core.min.js +11 -0
  1135. data/lib/templates/wordpress/wp-includes/js/jquery/ui/datepicker.min.js +12 -0
  1136. data/lib/templates/wordpress/wp-includes/js/jquery/ui/dialog.min.js +11 -0
  1137. data/lib/templates/wordpress/wp-includes/js/jquery/ui/draggable.min.js +11 -0
  1138. data/lib/templates/wordpress/wp-includes/js/jquery/ui/droppable.min.js +11 -0
  1139. data/lib/templates/wordpress/wp-includes/js/jquery/ui/effect-blind.min.js +11 -0
  1140. data/lib/templates/wordpress/wp-includes/js/jquery/ui/effect-bounce.min.js +11 -0
  1141. data/lib/templates/wordpress/wp-includes/js/jquery/ui/effect-clip.min.js +11 -0
  1142. data/lib/templates/wordpress/wp-includes/js/jquery/ui/effect-drop.min.js +11 -0
  1143. data/lib/templates/wordpress/wp-includes/js/jquery/ui/effect-explode.min.js +11 -0
  1144. data/lib/templates/wordpress/wp-includes/js/jquery/ui/effect-fade.min.js +11 -0
  1145. data/lib/templates/wordpress/wp-includes/js/jquery/ui/effect-fold.min.js +11 -0
  1146. data/lib/templates/wordpress/wp-includes/js/jquery/ui/effect-highlight.min.js +11 -0
  1147. data/lib/templates/wordpress/wp-includes/js/jquery/ui/effect-puff.min.js +11 -0
  1148. data/lib/templates/wordpress/wp-includes/js/jquery/ui/effect-pulsate.min.js +11 -0
  1149. data/lib/templates/wordpress/wp-includes/js/jquery/ui/effect-scale.min.js +11 -0
  1150. data/lib/templates/wordpress/wp-includes/js/jquery/ui/effect-shake.min.js +11 -0
  1151. data/lib/templates/wordpress/wp-includes/js/jquery/ui/effect-size.min.js +11 -0
  1152. data/lib/templates/wordpress/wp-includes/js/jquery/ui/effect-slide.min.js +11 -0
  1153. data/lib/templates/wordpress/wp-includes/js/jquery/ui/effect-transfer.min.js +11 -0
  1154. data/lib/templates/wordpress/wp-includes/js/jquery/ui/effect.min.js +21 -0
  1155. data/lib/templates/wordpress/wp-includes/js/jquery/ui/menu.min.js +11 -0
  1156. data/lib/templates/wordpress/wp-includes/js/jquery/ui/mouse.min.js +11 -0
  1157. data/lib/templates/wordpress/wp-includes/js/jquery/ui/position.min.js +11 -0
  1158. data/lib/templates/wordpress/wp-includes/js/jquery/ui/progressbar.min.js +11 -0
  1159. data/lib/templates/wordpress/wp-includes/js/jquery/ui/resizable.min.js +11 -0
  1160. data/lib/templates/wordpress/wp-includes/js/jquery/ui/selectable.min.js +11 -0
  1161. data/lib/templates/wordpress/wp-includes/js/jquery/ui/selectmenu.min.js +11 -0
  1162. data/lib/templates/wordpress/wp-includes/js/jquery/ui/slider.min.js +11 -0
  1163. data/lib/templates/wordpress/wp-includes/js/jquery/ui/sortable.min.js +11 -0
  1164. data/lib/templates/wordpress/wp-includes/js/jquery/ui/spinner.min.js +11 -0
  1165. data/lib/templates/wordpress/wp-includes/js/jquery/ui/tabs.min.js +11 -0
  1166. data/lib/templates/wordpress/wp-includes/js/jquery/ui/tooltip.min.js +11 -0
  1167. data/lib/templates/wordpress/wp-includes/js/jquery/ui/widget.min.js +11 -0
  1168. data/lib/templates/wordpress/wp-includes/js/json2.js +480 -0
  1169. data/lib/templates/wordpress/wp-includes/js/json2.min.js +1 -0
  1170. data/lib/templates/wordpress/wp-includes/js/masonry.min.js +17 -0
  1171. data/lib/templates/wordpress/wp-includes/js/mce-view.js +881 -0
  1172. data/lib/templates/wordpress/wp-includes/js/mce-view.min.js +1 -0
  1173. data/lib/templates/wordpress/wp-includes/js/media-audiovideo.js +934 -0
  1174. data/lib/templates/wordpress/wp-includes/js/media-audiovideo.min.js +1 -0
  1175. data/lib/templates/wordpress/wp-includes/js/media-editor.js +1114 -0
  1176. data/lib/templates/wordpress/wp-includes/js/media-editor.min.js +1 -0
  1177. data/lib/templates/wordpress/wp-includes/js/media-grid.js +863 -0
  1178. data/lib/templates/wordpress/wp-includes/js/media-grid.min.js +1 -0
  1179. data/lib/templates/wordpress/wp-includes/js/media-models.js +1503 -0
  1180. data/lib/templates/wordpress/wp-includes/js/media-models.min.js +1 -0
  1181. data/lib/templates/wordpress/wp-includes/js/media-views.js +8421 -0
  1182. data/lib/templates/wordpress/wp-includes/js/media-views.min.js +4 -0
  1183. data/lib/templates/wordpress/wp-includes/js/mediaelement/background.png +0 -0
  1184. data/lib/templates/wordpress/wp-includes/js/mediaelement/bigplay.png +0 -0
  1185. data/lib/templates/wordpress/wp-includes/js/mediaelement/bigplay.svg +1 -0
  1186. data/lib/templates/wordpress/wp-includes/js/mediaelement/controls.png +0 -0
  1187. data/lib/templates/wordpress/wp-includes/js/mediaelement/controls.svg +1 -0
  1188. data/lib/templates/wordpress/wp-includes/js/mediaelement/flashmediaelement.swf +0 -0
  1189. data/lib/templates/wordpress/wp-includes/js/mediaelement/froogaloop.min.js +4 -0
  1190. data/lib/templates/wordpress/wp-includes/js/mediaelement/loading.gif +0 -0
  1191. data/lib/templates/wordpress/wp-includes/js/mediaelement/mediaelement-and-player.min.js +28 -0
  1192. data/lib/templates/wordpress/wp-includes/js/mediaelement/mediaelementplayer.min.css +1 -0
  1193. data/lib/templates/wordpress/wp-includes/js/mediaelement/silverlightmediaelement.xap +0 -0
  1194. data/lib/templates/wordpress/wp-includes/js/mediaelement/skipback.png +0 -0
  1195. data/lib/templates/wordpress/wp-includes/js/mediaelement/wp-mediaelement.css +308 -0
  1196. data/lib/templates/wordpress/wp-includes/js/mediaelement/wp-mediaelement.js +34 -0
  1197. data/lib/templates/wordpress/wp-includes/js/mediaelement/wp-playlist.js +175 -0
  1198. data/lib/templates/wordpress/wp-includes/js/plupload/handlers.js +488 -0
  1199. data/lib/templates/wordpress/wp-includes/js/plupload/handlers.min.js +1 -0
  1200. data/lib/templates/wordpress/wp-includes/js/plupload/license.txt +339 -0
  1201. data/lib/templates/wordpress/wp-includes/js/plupload/plupload.flash.swf +0 -0
  1202. data/lib/templates/wordpress/wp-includes/js/plupload/plupload.full.min.js +28 -0
  1203. data/lib/templates/wordpress/wp-includes/js/plupload/plupload.silverlight.xap +0 -0
  1204. data/lib/templates/wordpress/wp-includes/js/plupload/wp-plupload.js +424 -0
  1205. data/lib/templates/wordpress/wp-includes/js/plupload/wp-plupload.min.js +1 -0
  1206. data/lib/templates/wordpress/wp-includes/js/quicktags.js +683 -0
  1207. data/lib/templates/wordpress/wp-includes/js/quicktags.min.js +1 -0
  1208. data/lib/templates/wordpress/wp-includes/js/shortcode.js +356 -0
  1209. data/lib/templates/wordpress/wp-includes/js/shortcode.min.js +1 -0
  1210. data/lib/templates/wordpress/wp-includes/js/swfobject.js +4 -0
  1211. data/lib/templates/wordpress/wp-includes/js/swfupload/handlers.js +376 -0
  1212. data/lib/templates/wordpress/wp-includes/js/swfupload/handlers.min.js +1 -0
  1213. data/lib/templates/wordpress/wp-includes/js/swfupload/license.txt +32 -0
  1214. data/lib/templates/wordpress/wp-includes/js/swfupload/plugins/swfupload.cookies.js +53 -0
  1215. data/lib/templates/wordpress/wp-includes/js/swfupload/plugins/swfupload.queue.js +98 -0
  1216. data/lib/templates/wordpress/wp-includes/js/swfupload/plugins/swfupload.speed.js +342 -0
  1217. data/lib/templates/wordpress/wp-includes/js/swfupload/plugins/swfupload.swfobject.js +105 -0
  1218. data/lib/templates/wordpress/wp-includes/js/swfupload/swfupload.js +980 -0
  1219. data/lib/templates/wordpress/wp-includes/js/swfupload/swfupload.swf +0 -0
  1220. data/lib/templates/wordpress/wp-includes/js/thickbox/loadingAnimation.gif +0 -0
  1221. data/lib/templates/wordpress/wp-includes/js/thickbox/macFFBgHack.png +0 -0
  1222. data/lib/templates/wordpress/wp-includes/js/thickbox/thickbox.css +138 -0
  1223. data/lib/templates/wordpress/wp-includes/js/thickbox/thickbox.js +314 -0
  1224. data/lib/templates/wordpress/wp-includes/js/tinymce/langs/wp-langs-en.js +519 -0
  1225. data/lib/templates/wordpress/wp-includes/js/tinymce/license.txt +504 -0
  1226. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/charmap/plugin.js +396 -0
  1227. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/charmap/plugin.min.js +1 -0
  1228. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/colorpicker/plugin.js +112 -0
  1229. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/colorpicker/plugin.min.js +1 -0
  1230. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/compat3x/css/dialog.css +212 -0
  1231. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/compat3x/plugin.js +304 -0
  1232. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/compat3x/plugin.min.js +1 -0
  1233. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/directionality/plugin.js +64 -0
  1234. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/directionality/plugin.min.js +1 -0
  1235. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/fullscreen/plugin.js +136 -0
  1236. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/fullscreen/plugin.min.js +1 -0
  1237. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/hr/plugin.js +30 -0
  1238. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/hr/plugin.min.js +1 -0
  1239. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/image/plugin.js +568 -0
  1240. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/image/plugin.min.js +1 -0
  1241. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/lists/plugin.js +813 -0
  1242. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/lists/plugin.min.js +1 -0
  1243. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/media/moxieplayer.swf +0 -0
  1244. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/media/plugin.js +782 -0
  1245. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/media/plugin.min.js +1 -0
  1246. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/paste/plugin.js +1606 -0
  1247. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/paste/plugin.min.js +1 -0
  1248. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/tabfocus/plugin.js +120 -0
  1249. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/tabfocus/plugin.min.js +1 -0
  1250. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/textcolor/plugin.js +282 -0
  1251. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/textcolor/plugin.min.js +1 -0
  1252. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/wordpress/plugin.js +754 -0
  1253. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/wordpress/plugin.min.js +1 -0
  1254. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/wpautoresize/plugin.js +207 -0
  1255. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/wpautoresize/plugin.min.js +1 -0
  1256. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/wpdialogs/plugin.js +92 -0
  1257. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/wpdialogs/plugin.min.js +1 -0
  1258. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js +976 -0
  1259. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/wpeditimage/plugin.min.js +1 -0
  1260. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/wpemoji/plugin.js +128 -0
  1261. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/wpemoji/plugin.min.js +1 -0
  1262. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/wpfullscreen/plugin.js +76 -0
  1263. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/wpfullscreen/plugin.min.js +1 -0
  1264. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/wpgallery/plugin.js +112 -0
  1265. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/wpgallery/plugin.min.js +1 -0
  1266. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/wplink/plugin.js +50 -0
  1267. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/wplink/plugin.min.js +1 -0
  1268. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/wpview/plugin.js +738 -0
  1269. data/lib/templates/wordpress/wp-includes/js/tinymce/plugins/wpview/plugin.min.js +1 -0
  1270. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/lightgray/content.inline.min.css +1 -0
  1271. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/lightgray/content.min.css +1 -0
  1272. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/lightgray/fonts/readme.md +1 -0
  1273. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/lightgray/fonts/tinymce-small.eot +0 -0
  1274. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/lightgray/fonts/tinymce-small.svg +62 -0
  1275. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/lightgray/fonts/tinymce-small.ttf +0 -0
  1276. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/lightgray/fonts/tinymce-small.woff +0 -0
  1277. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
  1278. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/lightgray/fonts/tinymce.svg +63 -0
  1279. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
  1280. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
  1281. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/lightgray/img/anchor.gif +0 -0
  1282. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/lightgray/img/loader.gif +0 -0
  1283. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/lightgray/img/object.gif +0 -0
  1284. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/lightgray/img/trans.gif +0 -0
  1285. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/lightgray/skin.ie7.min.css +1 -0
  1286. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/lightgray/skin.min.css +1 -0
  1287. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/wordpress/images/audio.png +0 -0
  1288. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/wordpress/images/dashicon-edit.png +0 -0
  1289. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/wordpress/images/dashicon-no.png +0 -0
  1290. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/wordpress/images/embedded.png +0 -0
  1291. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/wordpress/images/gallery-2x.png +0 -0
  1292. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/wordpress/images/gallery.png +0 -0
  1293. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/wordpress/images/more-2x.png +0 -0
  1294. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/wordpress/images/more.png +0 -0
  1295. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/wordpress/images/pagebreak-2x.png +0 -0
  1296. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/wordpress/images/pagebreak.png +0 -0
  1297. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/wordpress/images/playlist-audio.png +0 -0
  1298. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/wordpress/images/playlist-video.png +0 -0
  1299. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/wordpress/images/video.png +0 -0
  1300. data/lib/templates/wordpress/wp-includes/js/tinymce/skins/wordpress/wp-content.css +539 -0
  1301. data/lib/templates/wordpress/wp-includes/js/tinymce/themes/modern/theme.js +617 -0
  1302. data/lib/templates/wordpress/wp-includes/js/tinymce/themes/modern/theme.min.js +1 -0
  1303. data/lib/templates/wordpress/wp-includes/js/tinymce/tiny_mce_popup.js +542 -0
  1304. data/lib/templates/wordpress/wp-includes/js/tinymce/tinymce.min.js +14 -0
  1305. data/lib/templates/wordpress/wp-includes/js/tinymce/utils/editable_selects.js +70 -0
  1306. data/lib/templates/wordpress/wp-includes/js/tinymce/utils/form_utils.js +210 -0
  1307. data/lib/templates/wordpress/wp-includes/js/tinymce/utils/mctabs.js +164 -0
  1308. data/lib/templates/wordpress/wp-includes/js/tinymce/utils/validate.js +252 -0
  1309. data/lib/templates/wordpress/wp-includes/js/tinymce/wp-mce-help.php +142 -0
  1310. data/lib/templates/wordpress/wp-includes/js/tinymce/wp-tinymce.js.gz +0 -0
  1311. data/lib/templates/wordpress/wp-includes/js/tinymce/wp-tinymce.php +39 -0
  1312. data/lib/templates/wordpress/wp-includes/js/tw-sack.js +193 -0
  1313. data/lib/templates/wordpress/wp-includes/js/tw-sack.min.js +1 -0
  1314. data/lib/templates/wordpress/wp-includes/js/twemoji.js +542 -0
  1315. data/lib/templates/wordpress/wp-includes/js/twemoji.min.js +1 -0
  1316. data/lib/templates/wordpress/wp-includes/js/underscore.min.js +5 -0
  1317. data/lib/templates/wordpress/wp-includes/js/utils.js +197 -0
  1318. data/lib/templates/wordpress/wp-includes/js/utils.min.js +1 -0
  1319. data/lib/templates/wordpress/wp-includes/js/wp-a11y.js +46 -0
  1320. data/lib/templates/wordpress/wp-includes/js/wp-a11y.min.js +1 -0
  1321. data/lib/templates/wordpress/wp-includes/js/wp-ajax-response.js +64 -0
  1322. data/lib/templates/wordpress/wp-includes/js/wp-ajax-response.min.js +1 -0
  1323. data/lib/templates/wordpress/wp-includes/js/wp-auth-check.js +114 -0
  1324. data/lib/templates/wordpress/wp-includes/js/wp-auth-check.min.js +1 -0
  1325. data/lib/templates/wordpress/wp-includes/js/wp-backbone.js +386 -0
  1326. data/lib/templates/wordpress/wp-includes/js/wp-backbone.min.js +1 -0
  1327. data/lib/templates/wordpress/wp-includes/js/wp-emoji-loader.js +76 -0
  1328. data/lib/templates/wordpress/wp-includes/js/wp-emoji-loader.min.js +1 -0
  1329. data/lib/templates/wordpress/wp-includes/js/wp-emoji-release.min.js +4 -0
  1330. data/lib/templates/wordpress/wp-includes/js/wp-emoji.js +170 -0
  1331. data/lib/templates/wordpress/wp-includes/js/wp-emoji.min.js +1 -0
  1332. data/lib/templates/wordpress/wp-includes/js/wp-list-revisions.js +24 -0
  1333. data/lib/templates/wordpress/wp-includes/js/wp-list-revisions.min.js +1 -0
  1334. data/lib/templates/wordpress/wp-includes/js/wp-lists.js +469 -0
  1335. data/lib/templates/wordpress/wp-includes/js/wp-lists.min.js +1 -0
  1336. data/lib/templates/wordpress/wp-includes/js/wp-pointer.js +282 -0
  1337. data/lib/templates/wordpress/wp-includes/js/wp-pointer.min.js +1 -0
  1338. data/lib/templates/wordpress/wp-includes/js/wp-util.js +112 -0
  1339. data/lib/templates/wordpress/wp-includes/js/wp-util.min.js +1 -0
  1340. data/lib/templates/wordpress/wp-includes/js/wpdialog.js +19 -0
  1341. data/lib/templates/wordpress/wp-includes/js/wpdialog.min.js +1 -0
  1342. data/lib/templates/wordpress/wp-includes/js/wplink.js +707 -0
  1343. data/lib/templates/wordpress/wp-includes/js/wplink.min.js +1 -0
  1344. data/lib/templates/wordpress/wp-includes/js/zxcvbn-async.js +18 -0
  1345. data/lib/templates/wordpress/wp-includes/js/zxcvbn-async.min.js +1 -0
  1346. data/lib/templates/wordpress/wp-includes/js/zxcvbn.min.js +47 -0
  1347. data/lib/templates/wordpress/wp-includes/kses.php +1543 -0
  1348. data/lib/templates/wordpress/wp-includes/l10n.php +956 -0
  1349. data/lib/templates/wordpress/wp-includes/link-template.php +3631 -0
  1350. data/lib/templates/wordpress/wp-includes/load.php +828 -0
  1351. data/lib/templates/wordpress/wp-includes/locale.php +365 -0
  1352. data/lib/templates/wordpress/wp-includes/media-template.php +1250 -0
  1353. data/lib/templates/wordpress/wp-includes/media.php +3440 -0
  1354. data/lib/templates/wordpress/wp-includes/meta.php +1667 -0
  1355. data/lib/templates/wordpress/wp-includes/ms-blogs.php +946 -0
  1356. data/lib/templates/wordpress/wp-includes/ms-default-constants.php +153 -0
  1357. data/lib/templates/wordpress/wp-includes/ms-default-filters.php +87 -0
  1358. data/lib/templates/wordpress/wp-includes/ms-deprecated.php +349 -0
  1359. data/lib/templates/wordpress/wp-includes/ms-files.php +82 -0
  1360. data/lib/templates/wordpress/wp-includes/ms-functions.php +2433 -0
  1361. data/lib/templates/wordpress/wp-includes/ms-load.php +472 -0
  1362. data/lib/templates/wordpress/wp-includes/ms-settings.php +213 -0
  1363. data/lib/templates/wordpress/wp-includes/nav-menu-template.php +675 -0
  1364. data/lib/templates/wordpress/wp-includes/nav-menu.php +900 -0
  1365. data/lib/templates/wordpress/wp-includes/option.php +1462 -0
  1366. data/lib/templates/wordpress/wp-includes/pluggable-deprecated.php +192 -0
  1367. data/lib/templates/wordpress/wp-includes/pluggable.php +2347 -0
  1368. data/lib/templates/wordpress/wp-includes/plugin.php +907 -0
  1369. data/lib/templates/wordpress/wp-includes/pomo/entry.php +78 -0
  1370. data/lib/templates/wordpress/wp-includes/pomo/mo.php +265 -0
  1371. data/lib/templates/wordpress/wp-includes/pomo/po.php +408 -0
  1372. data/lib/templates/wordpress/wp-includes/pomo/streams.php +241 -0
  1373. data/lib/templates/wordpress/wp-includes/pomo/translations.php +324 -0
  1374. data/lib/templates/wordpress/wp-includes/post-formats.php +232 -0
  1375. data/lib/templates/wordpress/wp-includes/post-template.php +1831 -0
  1376. data/lib/templates/wordpress/wp-includes/post-thumbnail-template.php +160 -0
  1377. data/lib/templates/wordpress/wp-includes/post.php +5937 -0
  1378. data/lib/templates/wordpress/wp-includes/query.php +4725 -0
  1379. data/lib/templates/wordpress/wp-includes/registration-functions.php +7 -0
  1380. data/lib/templates/wordpress/wp-includes/registration.php +7 -0
  1381. data/lib/templates/wordpress/wp-includes/revision.php +657 -0
  1382. data/lib/templates/wordpress/wp-includes/rewrite.php +2195 -0
  1383. data/lib/templates/wordpress/wp-includes/rss-functions.php +9 -0
  1384. data/lib/templates/wordpress/wp-includes/rss.php +936 -0
  1385. data/lib/templates/wordpress/wp-includes/script-loader.php +1090 -0
  1386. data/lib/templates/wordpress/wp-includes/session.php +439 -0
  1387. data/lib/templates/wordpress/wp-includes/shortcodes.php +404 -0
  1388. data/lib/templates/wordpress/wp-includes/taxonomy.php +4726 -0
  1389. data/lib/templates/wordpress/wp-includes/template-loader.php +76 -0
  1390. data/lib/templates/wordpress/wp-includes/template.php +505 -0
  1391. data/lib/templates/wordpress/wp-includes/theme-compat/comments-popup.php +131 -0
  1392. data/lib/templates/wordpress/wp-includes/theme-compat/comments.php +114 -0
  1393. data/lib/templates/wordpress/wp-includes/theme-compat/footer.php +30 -0
  1394. data/lib/templates/wordpress/wp-includes/theme-compat/header.php +49 -0
  1395. data/lib/templates/wordpress/wp-includes/theme-compat/sidebar.php +83 -0
  1396. data/lib/templates/wordpress/wp-includes/theme.php +2048 -0
  1397. data/lib/templates/wordpress/wp-includes/update.php +692 -0
  1398. data/lib/templates/wordpress/wp-includes/user.php +2462 -0
  1399. data/lib/templates/wordpress/wp-includes/vars.php +144 -0
  1400. data/lib/templates/wordpress/wp-includes/version.php +35 -0
  1401. data/lib/templates/wordpress/wp-includes/widgets.php +1720 -0
  1402. data/lib/templates/wordpress/wp-includes/wlwmanifest.xml +43 -0
  1403. data/lib/templates/wordpress/wp-includes/wp-db.php +2949 -0
  1404. data/lib/templates/wordpress/wp-includes/wp-diff.php +544 -0
  1405. data/lib/templates/wordpress/wp-links-opml.php +80 -0
  1406. data/lib/templates/wordpress/wp-load.php +81 -0
  1407. data/lib/templates/wordpress/wp-login.php +987 -0
  1408. data/lib/templates/wordpress/wp-mail.php +260 -0
  1409. data/lib/templates/wordpress/wp-settings.php +374 -0
  1410. data/lib/templates/wordpress/wp-signup.php +732 -0
  1411. data/lib/templates/wordpress/wp-trackback.php +127 -0
  1412. data/lib/templates/wordpress/xmlrpc.php +101 -0
  1413. metadata +1455 -0
@@ -0,0 +1,3493 @@
1
+ <?php
2
+ /**
3
+ * Deprecated functions from past WordPress versions. You shouldn't use these
4
+ * functions and look for the alternatives instead. The functions will be
5
+ * removed in a later version.
6
+ *
7
+ * @package WordPress
8
+ * @subpackage Deprecated
9
+ */
10
+
11
+ /*
12
+ * Deprecated functions come here to die.
13
+ */
14
+
15
+ /**
16
+ * Entire Post data.
17
+ *
18
+ * @since 0.71
19
+ * @deprecated 1.5.1
20
+ * @deprecated Use get_post()
21
+ * @see get_post()
22
+ *
23
+ * @param int $postid
24
+ * @return array
25
+ */
26
+ function get_postdata($postid) {
27
+ _deprecated_function( __FUNCTION__, '1.5.1', 'get_post()' );
28
+
29
+ $post = get_post($postid);
30
+
31
+ $postdata = array (
32
+ 'ID' => $post->ID,
33
+ 'Author_ID' => $post->post_author,
34
+ 'Date' => $post->post_date,
35
+ 'Content' => $post->post_content,
36
+ 'Excerpt' => $post->post_excerpt,
37
+ 'Title' => $post->post_title,
38
+ 'Category' => $post->post_category,
39
+ 'post_status' => $post->post_status,
40
+ 'comment_status' => $post->comment_status,
41
+ 'ping_status' => $post->ping_status,
42
+ 'post_password' => $post->post_password,
43
+ 'to_ping' => $post->to_ping,
44
+ 'pinged' => $post->pinged,
45
+ 'post_type' => $post->post_type,
46
+ 'post_name' => $post->post_name
47
+ );
48
+
49
+ return $postdata;
50
+ }
51
+
52
+ /**
53
+ * Sets up the WordPress Loop.
54
+ *
55
+ * @since 1.0.1
56
+ * @deprecated 1.5.0
57
+ * @deprecated Use The Loop - {@link https://codex.wordpress.org/The_Loop Use new WordPress Loop}
58
+ */
59
+ function start_wp() {
60
+ global $wp_query;
61
+
62
+ _deprecated_function( __FUNCTION__, '1.5', __('new WordPress Loop') );
63
+
64
+ // Since the old style loop is being used, advance the query iterator here.
65
+ $wp_query->next_post();
66
+
67
+ setup_postdata( get_post() );
68
+ }
69
+
70
+ /**
71
+ * Return or Print Category ID.
72
+ *
73
+ * @since 0.71
74
+ * @deprecated 0.71
75
+ * @deprecated use get_the_category()
76
+ * @see get_the_category()
77
+ *
78
+ * @param bool $echo
79
+ * @return null|int
80
+ */
81
+ function the_category_ID($echo = true) {
82
+ _deprecated_function( __FUNCTION__, '0.71', 'get_the_category()' );
83
+
84
+ // Grab the first cat in the list.
85
+ $categories = get_the_category();
86
+ $cat = $categories[0]->term_id;
87
+
88
+ if ( $echo )
89
+ echo $cat;
90
+
91
+ return $cat;
92
+ }
93
+
94
+ /**
95
+ * Print category with optional text before and after.
96
+ *
97
+ * @since 0.71
98
+ * @deprecated 0.71
99
+ * @deprecated use get_the_category_by_ID()
100
+ * @see get_the_category_by_ID()
101
+ *
102
+ * @param string $before
103
+ * @param string $after
104
+ */
105
+ function the_category_head($before='', $after='') {
106
+ global $currentcat, $previouscat;
107
+
108
+ _deprecated_function( __FUNCTION__, '0.71', 'get_the_category_by_ID()' );
109
+
110
+ // Grab the first cat in the list.
111
+ $categories = get_the_category();
112
+ $currentcat = $categories[0]->category_id;
113
+ if ( $currentcat != $previouscat ) {
114
+ echo $before;
115
+ echo get_the_category_by_ID($currentcat);
116
+ echo $after;
117
+ $previouscat = $currentcat;
118
+ }
119
+ }
120
+
121
+ /**
122
+ * Prints link to the previous post.
123
+ *
124
+ * @since 1.5.0
125
+ * @deprecated 2.0.0
126
+ * @deprecated Use previous_post_link()
127
+ * @see previous_post_link()
128
+ *
129
+ * @param string $format
130
+ * @param string $previous
131
+ * @param string $title
132
+ * @param string $in_same_cat
133
+ * @param int $limitprev
134
+ * @param string $excluded_categories
135
+ */
136
+ function previous_post($format='%', $previous='previous post: ', $title='yes', $in_same_cat='no', $limitprev=1, $excluded_categories='') {
137
+
138
+ _deprecated_function( __FUNCTION__, '2.0', 'previous_post_link()' );
139
+
140
+ if ( empty($in_same_cat) || 'no' == $in_same_cat )
141
+ $in_same_cat = false;
142
+ else
143
+ $in_same_cat = true;
144
+
145
+ $post = get_previous_post($in_same_cat, $excluded_categories);
146
+
147
+ if ( !$post )
148
+ return;
149
+
150
+ $string = '<a href="'.get_permalink($post->ID).'">'.$previous;
151
+ if ( 'yes' == $title )
152
+ $string .= apply_filters('the_title', $post->post_title, $post->ID);
153
+ $string .= '</a>';
154
+ $format = str_replace('%', $string, $format);
155
+ echo $format;
156
+ }
157
+
158
+ /**
159
+ * Prints link to the next post.
160
+ *
161
+ * @since 0.71
162
+ * @deprecated 2.0.0
163
+ * @deprecated Use next_post_link()
164
+ * @see next_post_link()
165
+ *
166
+ * @param string $format
167
+ * @param string $next
168
+ * @param string $title
169
+ * @param string $in_same_cat
170
+ * @param int $limitnext
171
+ * @param string $excluded_categories
172
+ */
173
+ function next_post($format='%', $next='next post: ', $title='yes', $in_same_cat='no', $limitnext=1, $excluded_categories='') {
174
+ _deprecated_function( __FUNCTION__, '2.0', 'next_post_link()' );
175
+
176
+ if ( empty($in_same_cat) || 'no' == $in_same_cat )
177
+ $in_same_cat = false;
178
+ else
179
+ $in_same_cat = true;
180
+
181
+ $post = get_next_post($in_same_cat, $excluded_categories);
182
+
183
+ if ( !$post )
184
+ return;
185
+
186
+ $string = '<a href="'.get_permalink($post->ID).'">'.$next;
187
+ if ( 'yes' == $title )
188
+ $string .= apply_filters('the_title', $post->post_title, $post->ID);
189
+ $string .= '</a>';
190
+ $format = str_replace('%', $string, $format);
191
+ echo $format;
192
+ }
193
+
194
+ /**
195
+ * Whether user can create a post.
196
+ *
197
+ * @since 1.5.0
198
+ * @deprecated 2.0.0
199
+ * @deprecated Use current_user_can()
200
+ * @see current_user_can()
201
+ *
202
+ * @param int $user_id
203
+ * @param int $blog_id Not Used
204
+ * @param int $category_id Not Used
205
+ * @return bool
206
+ */
207
+ function user_can_create_post($user_id, $blog_id = 1, $category_id = 'None') {
208
+ _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
209
+
210
+ $author_data = get_userdata($user_id);
211
+ return ($author_data->user_level > 1);
212
+ }
213
+
214
+ /**
215
+ * Whether user can create a post.
216
+ *
217
+ * @since 1.5.0
218
+ * @deprecated 2.0.0
219
+ * @deprecated Use current_user_can()
220
+ * @see current_user_can()
221
+ *
222
+ * @param int $user_id
223
+ * @param int $blog_id Not Used
224
+ * @param int $category_id Not Used
225
+ * @return bool
226
+ */
227
+ function user_can_create_draft($user_id, $blog_id = 1, $category_id = 'None') {
228
+ _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
229
+
230
+ $author_data = get_userdata($user_id);
231
+ return ($author_data->user_level >= 1);
232
+ }
233
+
234
+ /**
235
+ * Whether user can edit a post.
236
+ *
237
+ * @since 1.5.0
238
+ * @deprecated 2.0.0
239
+ * @deprecated Use current_user_can()
240
+ * @see current_user_can()
241
+ *
242
+ * @param int $user_id
243
+ * @param int $post_id
244
+ * @param int $blog_id Not Used
245
+ * @return bool
246
+ */
247
+ function user_can_edit_post($user_id, $post_id, $blog_id = 1) {
248
+ _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
249
+
250
+ $author_data = get_userdata($user_id);
251
+ $post = get_post($post_id);
252
+ $post_author_data = get_userdata($post->post_author);
253
+
254
+ if ( (($user_id == $post_author_data->ID) && !($post->post_status == 'publish' && $author_data->user_level < 2))
255
+ || ($author_data->user_level > $post_author_data->user_level)
256
+ || ($author_data->user_level >= 10) ) {
257
+ return true;
258
+ } else {
259
+ return false;
260
+ }
261
+ }
262
+
263
+ /**
264
+ * Whether user can delete a post.
265
+ *
266
+ * @since 1.5.0
267
+ * @deprecated 2.0.0
268
+ * @deprecated Use current_user_can()
269
+ * @see current_user_can()
270
+ *
271
+ * @param int $user_id
272
+ * @param int $post_id
273
+ * @param int $blog_id Not Used
274
+ * @return bool
275
+ */
276
+ function user_can_delete_post($user_id, $post_id, $blog_id = 1) {
277
+ _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
278
+
279
+ // right now if one can edit, one can delete
280
+ return user_can_edit_post($user_id, $post_id, $blog_id);
281
+ }
282
+
283
+ /**
284
+ * Whether user can set new posts' dates.
285
+ *
286
+ * @since 1.5.0
287
+ * @deprecated 2.0.0
288
+ * @deprecated Use current_user_can()
289
+ * @see current_user_can()
290
+ *
291
+ * @param int $user_id
292
+ * @param int $blog_id Not Used
293
+ * @param int $category_id Not Used
294
+ * @return bool
295
+ */
296
+ function user_can_set_post_date($user_id, $blog_id = 1, $category_id = 'None') {
297
+ _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
298
+
299
+ $author_data = get_userdata($user_id);
300
+ return (($author_data->user_level > 4) && user_can_create_post($user_id, $blog_id, $category_id));
301
+ }
302
+
303
+ /**
304
+ * Whether user can delete a post.
305
+ *
306
+ * @since 1.5.0
307
+ * @deprecated 2.0.0
308
+ * @deprecated Use current_user_can()
309
+ * @see current_user_can()
310
+ *
311
+ * @param int $user_id
312
+ * @param int $post_id
313
+ * @param int $blog_id Not Used
314
+ * @return bool returns true if $user_id can edit $post_id's date
315
+ */
316
+ function user_can_edit_post_date($user_id, $post_id, $blog_id = 1) {
317
+ _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
318
+
319
+ $author_data = get_userdata($user_id);
320
+ return (($author_data->user_level > 4) && user_can_edit_post($user_id, $post_id, $blog_id));
321
+ }
322
+
323
+ /**
324
+ * Whether user can delete a post.
325
+ *
326
+ * @since 1.5.0
327
+ * @deprecated 2.0.0
328
+ * @deprecated Use current_user_can()
329
+ * @see current_user_can()
330
+ *
331
+ * @param int $user_id
332
+ * @param int $post_id
333
+ * @param int $blog_id Not Used
334
+ * @return bool returns true if $user_id can edit $post_id's comments
335
+ */
336
+ function user_can_edit_post_comments($user_id, $post_id, $blog_id = 1) {
337
+ _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
338
+
339
+ // right now if one can edit a post, one can edit comments made on it
340
+ return user_can_edit_post($user_id, $post_id, $blog_id);
341
+ }
342
+
343
+ /**
344
+ * Whether user can delete a post.
345
+ *
346
+ * @since 1.5.0
347
+ * @deprecated 2.0.0
348
+ * @deprecated Use current_user_can()
349
+ * @see current_user_can()
350
+ *
351
+ * @param int $user_id
352
+ * @param int $post_id
353
+ * @param int $blog_id Not Used
354
+ * @return bool returns true if $user_id can delete $post_id's comments
355
+ */
356
+ function user_can_delete_post_comments($user_id, $post_id, $blog_id = 1) {
357
+ _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
358
+
359
+ // right now if one can edit comments, one can delete comments
360
+ return user_can_edit_post_comments($user_id, $post_id, $blog_id);
361
+ }
362
+
363
+ /**
364
+ * Can user can edit other user.
365
+ *
366
+ * @since 1.5.0
367
+ * @deprecated 2.0.0
368
+ * @deprecated Use current_user_can()
369
+ * @see current_user_can()
370
+ *
371
+ * @param int $user_id
372
+ * @param int $other_user
373
+ * @return bool
374
+ */
375
+ function user_can_edit_user($user_id, $other_user) {
376
+ _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
377
+
378
+ $user = get_userdata($user_id);
379
+ $other = get_userdata($other_user);
380
+ if ( $user->user_level > $other->user_level || $user->user_level > 8 || $user->ID == $other->ID )
381
+ return true;
382
+ else
383
+ return false;
384
+ }
385
+
386
+ /**
387
+ * Gets the links associated with category $cat_name.
388
+ *
389
+ * @since 0.71
390
+ * @deprecated 2.1.0
391
+ * @deprecated Use get_bookmarks()
392
+ * @see get_bookmarks()
393
+ *
394
+ * @param string $cat_name Optional. The category name to use. If no match is found uses all.
395
+ * @param string $before Optional. The html to output before the link.
396
+ * @param string $after Optional. The html to output after the link.
397
+ * @param string $between Optional. The html to output between the link/image and its description. Not used if no image or $show_images is true.
398
+ * @param bool $show_images Optional. Whether to show images (if defined).
399
+ * @param string $orderby Optional. The order to output the links. E.g. 'id', 'name', 'url', 'description' or 'rating'. Or maybe owner.
400
+ * If you start the name with an underscore the order will be reversed. You can also specify 'rand' as the order which will return links in a
401
+ * random order.
402
+ * @param bool $show_description Optional. Whether to show the description if show_images=false/not defined.
403
+ * @param bool $show_rating Optional. Show rating stars/chars.
404
+ * @param int $limit Optional. Limit to X entries. If not specified, all entries are shown.
405
+ * @param int $show_updated Optional. Whether to show last updated timestamp
406
+ */
407
+ function get_linksbyname($cat_name = "noname", $before = '', $after = '<br />', $between = " ", $show_images = true, $orderby = 'id',
408
+ $show_description = true, $show_rating = false,
409
+ $limit = -1, $show_updated = 0) {
410
+ _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
411
+
412
+ $cat_id = -1;
413
+ $cat = get_term_by('name', $cat_name, 'link_category');
414
+ if ( $cat )
415
+ $cat_id = $cat->term_id;
416
+
417
+ get_links($cat_id, $before, $after, $between, $show_images, $orderby, $show_description, $show_rating, $limit, $show_updated);
418
+ }
419
+
420
+ /**
421
+ * Gets the links associated with the named category.
422
+ *
423
+ * @since 1.0.1
424
+ * @deprecated 2.1.0
425
+ * @deprecated Use wp_list_bookmarks()
426
+ * @see wp_list_bookmarks()
427
+ *
428
+ * @param string $category The category to use.
429
+ * @param string $args
430
+ * @return string|null
431
+ */
432
+ function wp_get_linksbyname($category, $args = '') {
433
+ _deprecated_function(__FUNCTION__, '2.1', 'wp_list_bookmarks()');
434
+
435
+ $defaults = array(
436
+ 'after' => '<br />',
437
+ 'before' => '',
438
+ 'categorize' => 0,
439
+ 'category_after' => '',
440
+ 'category_before' => '',
441
+ 'category_name' => $category,
442
+ 'show_description' => 1,
443
+ 'title_li' => '',
444
+ );
445
+
446
+ $r = wp_parse_args( $args, $defaults );
447
+
448
+ return wp_list_bookmarks($r);
449
+ }
450
+
451
+ /**
452
+ * Gets an array of link objects associated with category $cat_name.
453
+ *
454
+ * $links = get_linkobjectsbyname( 'fred' );
455
+ * foreach ( $links as $link ) {
456
+ * echo '<li>' . $link->link_name . '</li>';
457
+ * }
458
+ *
459
+ * @since 1.0.1
460
+ * @deprecated 2.1.0
461
+ * @deprecated Use get_bookmarks()
462
+ * @see get_bookmarks()
463
+ *
464
+ * @param string $cat_name The category name to use. If no match is found uses all.
465
+ * @param string $orderby The order to output the links. E.g. 'id', 'name', 'url', 'description', or 'rating'.
466
+ * Or maybe owner. If you start the name with an underscore the order will be reversed. You can also
467
+ * specify 'rand' as the order which will return links in a random order.
468
+ * @param int $limit Limit to X entries. If not specified, all entries are shown.
469
+ * @return array
470
+ */
471
+ function get_linkobjectsbyname($cat_name = "noname" , $orderby = 'name', $limit = -1) {
472
+ _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
473
+
474
+ $cat_id = -1;
475
+ $cat = get_term_by('name', $cat_name, 'link_category');
476
+ if ( $cat )
477
+ $cat_id = $cat->term_id;
478
+
479
+ return get_linkobjects($cat_id, $orderby, $limit);
480
+ }
481
+
482
+ /**
483
+ * Gets an array of link objects associated with category n.
484
+ *
485
+ * Usage:
486
+ *
487
+ * $links = get_linkobjects(1);
488
+ * if ($links) {
489
+ * foreach ($links as $link) {
490
+ * echo '<li>'.$link->link_name.'<br />'.$link->link_description.'</li>';
491
+ * }
492
+ * }
493
+ *
494
+ * Fields are:
495
+ *
496
+ * - link_id
497
+ * - link_url
498
+ * - link_name
499
+ * - link_image
500
+ * - link_target
501
+ * - link_category
502
+ * - link_description
503
+ * - link_visible
504
+ * - link_owner
505
+ * - link_rating
506
+ * - link_updated
507
+ * - link_rel
508
+ * - link_notes
509
+ *
510
+ * @since 1.0.1
511
+ * @deprecated 2.1.0
512
+ * @deprecated Use get_bookmarks()
513
+ * @see get_bookmarks()
514
+ *
515
+ * @param int $category The category to use. If no category supplied uses all
516
+ * @param string $orderby the order to output the links. E.g. 'id', 'name', 'url',
517
+ * 'description', or 'rating'. Or maybe owner. If you start the name with an
518
+ * underscore the order will be reversed. You can also specify 'rand' as the
519
+ * order which will return links in a random order.
520
+ * @param int $limit Limit to X entries. If not specified, all entries are shown.
521
+ * @return array
522
+ */
523
+ function get_linkobjects($category = 0, $orderby = 'name', $limit = 0) {
524
+ _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
525
+
526
+ $links = get_bookmarks( array( 'category' => $category, 'orderby' => $orderby, 'limit' => $limit ) ) ;
527
+
528
+ $links_array = array();
529
+ foreach ($links as $link)
530
+ $links_array[] = $link;
531
+
532
+ return $links_array;
533
+ }
534
+
535
+ /**
536
+ * Gets the links associated with category 'cat_name' and display rating stars/chars.
537
+ *
538
+ * @since 0.71
539
+ * @deprecated 2.1.0
540
+ * @deprecated Use get_bookmarks()
541
+ * @see get_bookmarks()
542
+ *
543
+ * @param string $cat_name The category name to use. If no match is found uses all
544
+ * @param string $before The html to output before the link
545
+ * @param string $after The html to output after the link
546
+ * @param string $between The html to output between the link/image and its description. Not used if no image or show_images is true
547
+ * @param bool $show_images Whether to show images (if defined).
548
+ * @param string $orderby the order to output the links. E.g. 'id', 'name', 'url',
549
+ * 'description', or 'rating'. Or maybe owner. If you start the name with an
550
+ * underscore the order will be reversed. You can also specify 'rand' as the
551
+ * order which will return links in a random order.
552
+ * @param bool $show_description Whether to show the description if show_images=false/not defined
553
+ * @param int $limit Limit to X entries. If not specified, all entries are shown.
554
+ * @param int $show_updated Whether to show last updated timestamp
555
+ */
556
+ function get_linksbyname_withrating($cat_name = "noname", $before = '', $after = '<br />', $between = " ",
557
+ $show_images = true, $orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) {
558
+ _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
559
+
560
+ get_linksbyname($cat_name, $before, $after, $between, $show_images, $orderby, $show_description, true, $limit, $show_updated);
561
+ }
562
+
563
+ /**
564
+ * Gets the links associated with category n and display rating stars/chars.
565
+ *
566
+ * @since 0.71
567
+ * @deprecated 2.1.0
568
+ * @deprecated Use get_bookmarks()
569
+ * @see get_bookmarks()
570
+ *
571
+ * @param int $category The category to use. If no category supplied uses all
572
+ * @param string $before The html to output before the link
573
+ * @param string $after The html to output after the link
574
+ * @param string $between The html to output between the link/image and its description. Not used if no image or show_images == true
575
+ * @param bool $show_images Whether to show images (if defined).
576
+ * @param string $orderby The order to output the links. E.g. 'id', 'name', 'url',
577
+ * 'description', or 'rating'. Or maybe owner. If you start the name with an
578
+ * underscore the order will be reversed. You can also specify 'rand' as the
579
+ * order which will return links in a random order.
580
+ * @param bool $show_description Whether to show the description if show_images=false/not defined.
581
+ * @param int $limit Limit to X entries. If not specified, all entries are shown.
582
+ * @param int $show_updated Whether to show last updated timestamp
583
+ */
584
+ function get_links_withrating($category = -1, $before = '', $after = '<br />', $between = " ", $show_images = true,
585
+ $orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) {
586
+ _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
587
+
588
+ get_links($category, $before, $after, $between, $show_images, $orderby, $show_description, true, $limit, $show_updated);
589
+ }
590
+
591
+ /**
592
+ * Gets the auto_toggle setting.
593
+ *
594
+ * @since 0.71
595
+ * @deprecated 2.1.0
596
+ * @deprecated No alternative function available
597
+ *
598
+ * @param int $id The category to get. If no category supplied uses 0
599
+ * @return int Only returns 0.
600
+ */
601
+ function get_autotoggle($id = 0) {
602
+ _deprecated_function( __FUNCTION__, '2.1' );
603
+ return 0;
604
+ }
605
+
606
+ /**
607
+ * @since 0.71
608
+ * @deprecated 2.1.0
609
+ * @deprecated Use wp_list_categories()
610
+ * @see wp_list_categories()
611
+ *
612
+ * @param int $optionall
613
+ * @param string $all
614
+ * @param string $sort_column
615
+ * @param string $sort_order
616
+ * @param string $file
617
+ * @param bool $list
618
+ * @param int $optiondates
619
+ * @param int $optioncount
620
+ * @param int $hide_empty
621
+ * @param int $use_desc_for_title
622
+ * @param bool $children
623
+ * @param int $child_of
624
+ * @param int $categories
625
+ * @param int $recurse
626
+ * @param string $feed
627
+ * @param string $feed_image
628
+ * @param string $exclude
629
+ * @param bool $hierarchical
630
+ * @return false|null
631
+ */
632
+ function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_order = 'asc', $file = '', $list = true, $optiondates = 0,
633
+ $optioncount = 0, $hide_empty = 1, $use_desc_for_title = 1, $children=false, $child_of=0, $categories=0,
634
+ $recurse=0, $feed = '', $feed_image = '', $exclude = '', $hierarchical=false) {
635
+ _deprecated_function( __FUNCTION__, '2.1', 'wp_list_categories()' );
636
+
637
+ $query = compact('optionall', 'all', 'sort_column', 'sort_order', 'file', 'list', 'optiondates', 'optioncount', 'hide_empty', 'use_desc_for_title', 'children',
638
+ 'child_of', 'categories', 'recurse', 'feed', 'feed_image', 'exclude', 'hierarchical');
639
+ return wp_list_cats($query);
640
+ }
641
+
642
+ /**
643
+ * @since 1.2.0
644
+ * @deprecated 2.1.0
645
+ * @deprecated Use wp_list_categories()
646
+ * @see wp_list_categories()
647
+ *
648
+ * @param string|array $args
649
+ * @return false|null|string
650
+ */
651
+ function wp_list_cats($args = '') {
652
+ _deprecated_function( __FUNCTION__, '2.1', 'wp_list_categories()' );
653
+
654
+ $r = wp_parse_args( $args );
655
+
656
+ // Map to new names.
657
+ if ( isset($r['optionall']) && isset($r['all']))
658
+ $r['show_option_all'] = $r['all'];
659
+ if ( isset($r['sort_column']) )
660
+ $r['orderby'] = $r['sort_column'];
661
+ if ( isset($r['sort_order']) )
662
+ $r['order'] = $r['sort_order'];
663
+ if ( isset($r['optiondates']) )
664
+ $r['show_last_update'] = $r['optiondates'];
665
+ if ( isset($r['optioncount']) )
666
+ $r['show_count'] = $r['optioncount'];
667
+ if ( isset($r['list']) )
668
+ $r['style'] = $r['list'] ? 'list' : 'break';
669
+ $r['title_li'] = '';
670
+
671
+ return wp_list_categories($r);
672
+ }
673
+
674
+ /**
675
+ * @since 0.71
676
+ * @deprecated 2.1.0
677
+ * @deprecated Use wp_dropdown_categories()
678
+ * @see wp_dropdown_categories()
679
+ *
680
+ * @param int $optionall
681
+ * @param string $all
682
+ * @param string $orderby
683
+ * @param string $order
684
+ * @param int $show_last_update
685
+ * @param int $show_count
686
+ * @param int $hide_empty
687
+ * @param bool $optionnone
688
+ * @param int $selected
689
+ * @param int $exclude
690
+ * @return string
691
+ */
692
+ function dropdown_cats($optionall = 1, $all = 'All', $orderby = 'ID', $order = 'asc',
693
+ $show_last_update = 0, $show_count = 0, $hide_empty = 1, $optionnone = false,
694
+ $selected = 0, $exclude = 0) {
695
+ _deprecated_function( __FUNCTION__, '2.1', 'wp_dropdown_categories()' );
696
+
697
+ $show_option_all = '';
698
+ if ( $optionall )
699
+ $show_option_all = $all;
700
+
701
+ $show_option_none = '';
702
+ if ( $optionnone )
703
+ $show_option_none = __('None');
704
+
705
+ $vars = compact('show_option_all', 'show_option_none', 'orderby', 'order',
706
+ 'show_last_update', 'show_count', 'hide_empty', 'selected', 'exclude');
707
+ $query = add_query_arg($vars, '');
708
+ return wp_dropdown_categories($query);
709
+ }
710
+
711
+ /**
712
+ * List authors.
713
+ *
714
+ * @since 1.2.0
715
+ * @deprecated 2.1.0
716
+ * @deprecated Use wp_list_authors()
717
+ * @see wp_list_authors()
718
+ *
719
+ * @param bool $optioncount
720
+ * @param bool $exclude_admin
721
+ * @param bool $show_fullname
722
+ * @param bool $hide_empty
723
+ * @param string $feed
724
+ * @param string $feed_image
725
+ * @return null|string
726
+ */
727
+ function list_authors($optioncount = false, $exclude_admin = true, $show_fullname = false, $hide_empty = true, $feed = '', $feed_image = '') {
728
+ _deprecated_function( __FUNCTION__, '2.1', 'wp_list_authors()' );
729
+
730
+ $args = compact('optioncount', 'exclude_admin', 'show_fullname', 'hide_empty', 'feed', 'feed_image');
731
+ return wp_list_authors($args);
732
+ }
733
+
734
+ /**
735
+ * @since 1.0.1
736
+ * @deprecated 2.1.0
737
+ * @deprecated Use wp_get_post_categories()
738
+ * @see wp_get_post_categories()
739
+ *
740
+ * @param int $blogid Not Used
741
+ * @param int $post_ID
742
+ * @return array
743
+ */
744
+ function wp_get_post_cats($blogid = '1', $post_ID = 0) {
745
+ _deprecated_function( __FUNCTION__, '2.1', 'wp_get_post_categories()' );
746
+ return wp_get_post_categories($post_ID);
747
+ }
748
+
749
+ /**
750
+ * Sets the categories that the post id belongs to.
751
+ *
752
+ * @since 1.0.1
753
+ * @deprecated 2.1.0
754
+ * @deprecated Use wp_set_post_categories()
755
+ * @see wp_set_post_categories()
756
+ *
757
+ * @param int $blogid Not used
758
+ * @param int $post_ID
759
+ * @param array $post_categories
760
+ * @return bool|mixed
761
+ */
762
+ function wp_set_post_cats($blogid = '1', $post_ID = 0, $post_categories = array()) {
763
+ _deprecated_function( __FUNCTION__, '2.1', 'wp_set_post_categories()' );
764
+ return wp_set_post_categories($post_ID, $post_categories);
765
+ }
766
+
767
+ /**
768
+ * @since 0.71
769
+ * @deprecated 2.1.0
770
+ * @deprecated Use wp_get_archives()
771
+ * @see wp_get_archives()
772
+ *
773
+ * @param string $type
774
+ * @param string $limit
775
+ * @param string $format
776
+ * @param string $before
777
+ * @param string $after
778
+ * @param bool $show_post_count
779
+ * @return string|null
780
+ */
781
+ function get_archives($type='', $limit='', $format='html', $before = '', $after = '', $show_post_count = false) {
782
+ _deprecated_function( __FUNCTION__, '2.1', 'wp_get_archives()' );
783
+ $args = compact('type', 'limit', 'format', 'before', 'after', 'show_post_count');
784
+ return wp_get_archives($args);
785
+ }
786
+
787
+ /**
788
+ * Returns or Prints link to the author's posts.
789
+ *
790
+ * @since 1.2.0
791
+ * @deprecated 2.1.0
792
+ * @deprecated Use get_author_posts_url()
793
+ * @see get_author_posts_url()
794
+ *
795
+ * @param bool $echo
796
+ * @param int $author_id
797
+ * @param string $author_nicename Optional.
798
+ * @return string|null
799
+ */
800
+ function get_author_link($echo, $author_id, $author_nicename = '') {
801
+ _deprecated_function( __FUNCTION__, '2.1', 'get_author_posts_url()' );
802
+
803
+ $link = get_author_posts_url($author_id, $author_nicename);
804
+
805
+ if ( $echo )
806
+ echo $link;
807
+ return $link;
808
+ }
809
+
810
+ /**
811
+ * Print list of pages based on arguments.
812
+ *
813
+ * @since 0.71
814
+ * @deprecated 2.1.0
815
+ * @deprecated Use wp_link_pages()
816
+ * @see wp_link_pages()
817
+ *
818
+ * @param string $before
819
+ * @param string $after
820
+ * @param string $next_or_number
821
+ * @param string $nextpagelink
822
+ * @param string $previouspagelink
823
+ * @param string $pagelink
824
+ * @param string $more_file
825
+ * @return string
826
+ */
827
+ function link_pages($before='<br />', $after='<br />', $next_or_number='number', $nextpagelink='next page', $previouspagelink='previous page',
828
+ $pagelink='%', $more_file='') {
829
+ _deprecated_function( __FUNCTION__, '2.1', 'wp_link_pages()' );
830
+
831
+ $args = compact('before', 'after', 'next_or_number', 'nextpagelink', 'previouspagelink', 'pagelink', 'more_file');
832
+ return wp_link_pages($args);
833
+ }
834
+
835
+ /**
836
+ * Get value based on option.
837
+ *
838
+ * @since 0.71
839
+ * @deprecated 2.1.0
840
+ * @deprecated Use get_option()
841
+ * @see get_option()
842
+ *
843
+ * @param string $option
844
+ * @return string
845
+ */
846
+ function get_settings($option) {
847
+ _deprecated_function( __FUNCTION__, '2.1', 'get_option()' );
848
+
849
+ return get_option($option);
850
+ }
851
+
852
+ /**
853
+ * Print the permalink of the current post in the loop.
854
+ *
855
+ * @since 0.71
856
+ * @deprecated 1.2.0
857
+ * @deprecated Use the_permalink()
858
+ * @see the_permalink()
859
+ */
860
+ function permalink_link() {
861
+ _deprecated_function( __FUNCTION__, '1.2', 'the_permalink()' );
862
+ the_permalink();
863
+ }
864
+
865
+ /**
866
+ * Print the permalink to the RSS feed.
867
+ *
868
+ * @since 0.71
869
+ * @deprecated 2.3.0
870
+ * @deprecated Use the_permalink_rss()
871
+ * @see the_permalink_rss()
872
+ *
873
+ * @param string $deprecated
874
+ */
875
+ function permalink_single_rss($deprecated = '') {
876
+ _deprecated_function( __FUNCTION__, '2.3', 'the_permalink_rss()' );
877
+ the_permalink_rss();
878
+ }
879
+
880
+ /**
881
+ * Gets the links associated with category.
882
+ *
883
+ * @see get_links() for argument information that can be used in $args
884
+ * @since 1.0.1
885
+ * @deprecated 2.1.0
886
+ * @deprecated Use wp_list_bookmarks()
887
+ * @see wp_list_bookmarks()
888
+ *
889
+ * @param string $args a query string
890
+ * @return null|string
891
+ */
892
+ function wp_get_links($args = '') {
893
+ _deprecated_function( __FUNCTION__, '2.1', 'wp_list_bookmarks()' );
894
+
895
+ if ( strpos( $args, '=' ) === false ) {
896
+ $cat_id = $args;
897
+ $args = add_query_arg( 'category', $cat_id, $args );
898
+ }
899
+
900
+ $defaults = array(
901
+ 'after' => '<br />',
902
+ 'before' => '',
903
+ 'between' => ' ',
904
+ 'categorize' => 0,
905
+ 'category' => '',
906
+ 'echo' => true,
907
+ 'limit' => -1,
908
+ 'orderby' => 'name',
909
+ 'show_description' => true,
910
+ 'show_images' => true,
911
+ 'show_rating' => false,
912
+ 'show_updated' => true,
913
+ 'title_li' => '',
914
+ );
915
+
916
+ $r = wp_parse_args( $args, $defaults );
917
+
918
+ return wp_list_bookmarks($r);
919
+ }
920
+
921
+ /**
922
+ * Gets the links associated with category by id.
923
+ *
924
+ * @since 0.71
925
+ * @deprecated 2.1.0
926
+ * @deprecated Use get_bookmarks()
927
+ * @see get_bookmarks()
928
+ *
929
+ * @param int $category The category to use. If no category supplied uses all
930
+ * @param string $before the html to output before the link
931
+ * @param string $after the html to output after the link
932
+ * @param string $between the html to output between the link/image and its description.
933
+ * Not used if no image or show_images == true
934
+ * @param bool $show_images whether to show images (if defined).
935
+ * @param string $orderby the order to output the links. E.g. 'id', 'name', 'url',
936
+ * 'description', or 'rating'. Or maybe owner. If you start the name with an
937
+ * underscore the order will be reversed. You can also specify 'rand' as the order
938
+ * which will return links in a random order.
939
+ * @param bool $show_description whether to show the description if show_images=false/not defined.
940
+ * @param bool $show_rating show rating stars/chars
941
+ * @param int $limit Limit to X entries. If not specified, all entries are shown.
942
+ * @param int $show_updated whether to show last updated timestamp
943
+ * @param bool $echo whether to echo the results, or return them instead
944
+ * @return null|string
945
+ */
946
+ function get_links($category = -1, $before = '', $after = '<br />', $between = ' ', $show_images = true, $orderby = 'name',
947
+ $show_description = true, $show_rating = false, $limit = -1, $show_updated = 1, $echo = true) {
948
+ _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
949
+
950
+ $order = 'ASC';
951
+ if ( substr($orderby, 0, 1) == '_' ) {
952
+ $order = 'DESC';
953
+ $orderby = substr($orderby, 1);
954
+ }
955
+
956
+ if ( $category == -1 ) //get_bookmarks uses '' to signify all categories
957
+ $category = '';
958
+
959
+ $results = get_bookmarks(array('category' => $category, 'orderby' => $orderby, 'order' => $order, 'show_updated' => $show_updated, 'limit' => $limit));
960
+
961
+ if ( !$results )
962
+ return;
963
+
964
+ $output = '';
965
+
966
+ foreach ( (array) $results as $row ) {
967
+ if ( !isset($row->recently_updated) )
968
+ $row->recently_updated = false;
969
+ $output .= $before;
970
+ if ( $show_updated && $row->recently_updated )
971
+ $output .= get_option('links_recently_updated_prepend');
972
+ $the_link = '#';
973
+ if ( !empty($row->link_url) )
974
+ $the_link = esc_url($row->link_url);
975
+ $rel = $row->link_rel;
976
+ if ( '' != $rel )
977
+ $rel = ' rel="' . $rel . '"';
978
+
979
+ $desc = esc_attr(sanitize_bookmark_field('link_description', $row->link_description, $row->link_id, 'display'));
980
+ $name = esc_attr(sanitize_bookmark_field('link_name', $row->link_name, $row->link_id, 'display'));
981
+ $title = $desc;
982
+
983
+ if ( $show_updated )
984
+ if (substr($row->link_updated_f, 0, 2) != '00')
985
+ $title .= ' ('.__('Last updated') . ' ' . date(get_option('links_updated_date_format'), $row->link_updated_f + (get_option('gmt_offset') * HOUR_IN_SECONDS)) . ')';
986
+
987
+ if ( '' != $title )
988
+ $title = ' title="' . $title . '"';
989
+
990
+ $alt = ' alt="' . $name . '"';
991
+
992
+ $target = $row->link_target;
993
+ if ( '' != $target )
994
+ $target = ' target="' . $target . '"';
995
+
996
+ $output .= '<a href="' . $the_link . '"' . $rel . $title . $target. '>';
997
+
998
+ if ( $row->link_image != null && $show_images ) {
999
+ if ( strpos($row->link_image, 'http') !== false )
1000
+ $output .= "<img src=\"$row->link_image\" $alt $title />";
1001
+ else // If it's a relative path
1002
+ $output .= "<img src=\"" . get_option('siteurl') . "$row->link_image\" $alt $title />";
1003
+ } else {
1004
+ $output .= $name;
1005
+ }
1006
+
1007
+ $output .= '</a>';
1008
+
1009
+ if ( $show_updated && $row->recently_updated )
1010
+ $output .= get_option('links_recently_updated_append');
1011
+
1012
+ if ( $show_description && '' != $desc )
1013
+ $output .= $between . $desc;
1014
+
1015
+ if ($show_rating) {
1016
+ $output .= $between . get_linkrating($row);
1017
+ }
1018
+
1019
+ $output .= "$after\n";
1020
+ } // end while
1021
+
1022
+ if ( !$echo )
1023
+ return $output;
1024
+ echo $output;
1025
+ }
1026
+
1027
+ /**
1028
+ * Output entire list of links by category.
1029
+ *
1030
+ * Output a list of all links, listed by category, using the settings in
1031
+ * $wpdb->linkcategories and output it as a nested HTML unordered list.
1032
+ *
1033
+ * @since 1.0.1
1034
+ * @deprecated 2.1.0
1035
+ * @deprecated Use wp_list_bookmarks()
1036
+ * @see wp_list_bookmarks()
1037
+ *
1038
+ * @param string $order Sort link categories by 'name' or 'id'
1039
+ */
1040
+ function get_links_list($order = 'name') {
1041
+ _deprecated_function( __FUNCTION__, '2.1', 'wp_list_bookmarks()' );
1042
+
1043
+ $order = strtolower($order);
1044
+
1045
+ // Handle link category sorting
1046
+ $direction = 'ASC';
1047
+ if ( '_' == substr($order,0,1) ) {
1048
+ $direction = 'DESC';
1049
+ $order = substr($order,1);
1050
+ }
1051
+
1052
+ if ( !isset($direction) )
1053
+ $direction = '';
1054
+
1055
+ $cats = get_categories(array('type' => 'link', 'orderby' => $order, 'order' => $direction, 'hierarchical' => 0));
1056
+
1057
+ // Display each category
1058
+ if ( $cats ) {
1059
+ foreach ( (array) $cats as $cat ) {
1060
+ // Handle each category.
1061
+
1062
+ // Display the category name
1063
+ echo ' <li id="linkcat-' . $cat->term_id . '" class="linkcat"><h2>' . apply_filters('link_category', $cat->name ) . "</h2>\n\t<ul>\n";
1064
+ // Call get_links() with all the appropriate params
1065
+ get_links($cat->term_id, '<li>', "</li>", "\n", true, 'name', false);
1066
+
1067
+ // Close the last category
1068
+ echo "\n\t</ul>\n</li>\n";
1069
+ }
1070
+ }
1071
+ }
1072
+
1073
+ /**
1074
+ * Show the link to the links popup and the number of links.
1075
+ *
1076
+ * @since 0.71
1077
+ * @deprecated 2.1.0
1078
+ * @deprecated {@internal Use function instead is unknown}}
1079
+ *
1080
+ * @param string $text the text of the link
1081
+ * @param int $width the width of the popup window
1082
+ * @param int $height the height of the popup window
1083
+ * @param string $file the page to open in the popup window
1084
+ * @param bool $count the number of links in the db
1085
+ */
1086
+ function links_popup_script($text = 'Links', $width=400, $height=400, $file='links.all.php', $count = true) {
1087
+ _deprecated_function( __FUNCTION__, '2.1' );
1088
+ }
1089
+
1090
+ /**
1091
+ * @since 1.0.1
1092
+ * @deprecated 2.1.0
1093
+ * @deprecated Use sanitize_bookmark_field()
1094
+ * @see sanitize_bookmark_field()
1095
+ *
1096
+ * @param object $link
1097
+ * @return mixed
1098
+ */
1099
+ function get_linkrating($link) {
1100
+ _deprecated_function( __FUNCTION__, '2.1', 'sanitize_bookmark_field()' );
1101
+ return sanitize_bookmark_field('link_rating', $link->link_rating, $link->link_id, 'display');
1102
+ }
1103
+
1104
+ /**
1105
+ * Gets the name of category by id.
1106
+ *
1107
+ * @since 0.71
1108
+ * @deprecated 2.1.0
1109
+ * @deprecated Use get_category()
1110
+ * @see get_category()
1111
+ *
1112
+ * @param int $id The category to get. If no category supplied uses 0
1113
+ * @return string
1114
+ */
1115
+ function get_linkcatname($id = 0) {
1116
+ _deprecated_function( __FUNCTION__, '2.1', 'get_category()' );
1117
+
1118
+ $id = (int) $id;
1119
+
1120
+ if ( empty($id) )
1121
+ return '';
1122
+
1123
+ $cats = wp_get_link_cats($id);
1124
+
1125
+ if ( empty($cats) || ! is_array($cats) )
1126
+ return '';
1127
+
1128
+ $cat_id = (int) $cats[0]; // Take the first cat.
1129
+
1130
+ $cat = get_category($cat_id);
1131
+ return $cat->name;
1132
+ }
1133
+
1134
+ /**
1135
+ * Print RSS comment feed link.
1136
+ *
1137
+ * @since 1.0.1
1138
+ * @deprecated 2.5.0
1139
+ * @deprecated Use post_comments_feed_link()
1140
+ * @see post_comments_feed_link()
1141
+ *
1142
+ * @param string $link_text
1143
+ */
1144
+ function comments_rss_link($link_text = 'Comments RSS') {
1145
+ _deprecated_function( __FUNCTION__, '2.5', 'post_comments_feed_link()' );
1146
+ post_comments_feed_link($link_text);
1147
+ }
1148
+
1149
+ /**
1150
+ * Print/Return link to category RSS2 feed.
1151
+ *
1152
+ * @since 1.2.0
1153
+ * @deprecated 2.5.0
1154
+ * @deprecated Use get_category_feed_link()
1155
+ * @see get_category_feed_link()
1156
+ *
1157
+ * @param bool $echo
1158
+ * @param int $cat_ID
1159
+ * @return string
1160
+ */
1161
+ function get_category_rss_link($echo = false, $cat_ID = 1) {
1162
+ _deprecated_function( __FUNCTION__, '2.5', 'get_category_feed_link()' );
1163
+
1164
+ $link = get_category_feed_link($cat_ID, 'rss2');
1165
+
1166
+ if ( $echo )
1167
+ echo $link;
1168
+ return $link;
1169
+ }
1170
+
1171
+ /**
1172
+ * Print/Return link to author RSS feed.
1173
+ *
1174
+ * @since 1.2.0
1175
+ * @deprecated 2.5.0
1176
+ * @deprecated Use get_author_feed_link()
1177
+ * @see get_author_feed_link()
1178
+ *
1179
+ * @param bool $echo
1180
+ * @param int $author_id
1181
+ * @return string
1182
+ */
1183
+ function get_author_rss_link($echo = false, $author_id = 1) {
1184
+ _deprecated_function( __FUNCTION__, '2.5', 'get_author_feed_link()' );
1185
+
1186
+ $link = get_author_feed_link($author_id);
1187
+ if ( $echo )
1188
+ echo $link;
1189
+ return $link;
1190
+ }
1191
+
1192
+ /**
1193
+ * Return link to the post RSS feed.
1194
+ *
1195
+ * @since 1.5.0
1196
+ * @deprecated 2.2.0
1197
+ * @deprecated Use get_post_comments_feed_link()
1198
+ * @see get_post_comments_feed_link()
1199
+ *
1200
+ * @return string
1201
+ */
1202
+ function comments_rss() {
1203
+ _deprecated_function( __FUNCTION__, '2.2', 'get_post_comments_feed_link()' );
1204
+ return esc_url( get_post_comments_feed_link() );
1205
+ }
1206
+
1207
+ /**
1208
+ * An alias of wp_create_user().
1209
+ *
1210
+ * @since 2.0.0
1211
+ * @deprecated 2.0.0
1212
+ * @deprecated Use wp_create_user()
1213
+ * @see wp_create_user()
1214
+ *
1215
+ * @param string $username The user's username.
1216
+ * @param string $password The user's password.
1217
+ * @param string $email The user's email.
1218
+ * @return int The new user's ID.
1219
+ */
1220
+ function create_user($username, $password, $email) {
1221
+ _deprecated_function( __FUNCTION__, '2.0', 'wp_create_user()' );
1222
+ return wp_create_user($username, $password, $email);
1223
+ }
1224
+
1225
+ /**
1226
+ * Unused function.
1227
+ *
1228
+ * @deprecated 2.5.0
1229
+ */
1230
+ function gzip_compression() {
1231
+ _deprecated_function( __FUNCTION__, '2.5' );
1232
+ return false;
1233
+ }
1234
+
1235
+ /**
1236
+ * Retrieve an array of comment data about comment $comment_ID.
1237
+ *
1238
+ * @since 0.71
1239
+ * @deprecated 2.7.0
1240
+ * @deprecated Use get_comment()
1241
+ * @see get_comment()
1242
+ *
1243
+ * @param int $comment_ID The ID of the comment
1244
+ * @param int $no_cache Whether to use the cache (cast to bool)
1245
+ * @param bool $include_unapproved Whether to include unapproved comments
1246
+ * @return array The comment data
1247
+ */
1248
+ function get_commentdata( $comment_ID, $no_cache = 0, $include_unapproved = false ) {
1249
+ _deprecated_function( __FUNCTION__, '2.7', 'get_comment()' );
1250
+ return get_comment($comment_ID, ARRAY_A);
1251
+ }
1252
+
1253
+ /**
1254
+ * Retrieve the category name by the category ID.
1255
+ *
1256
+ * @since 0.71
1257
+ * @deprecated 2.8.0
1258
+ * @deprecated Use get_cat_name()
1259
+ * @see get_cat_name()
1260
+ *
1261
+ * @param int $cat_ID Category ID
1262
+ * @return string category name
1263
+ */
1264
+ function get_catname( $cat_ID ) {
1265
+ _deprecated_function( __FUNCTION__, '2.8', 'get_cat_name()' );
1266
+ return get_cat_name( $cat_ID );
1267
+ }
1268
+
1269
+ /**
1270
+ * Retrieve category children list separated before and after the term IDs.
1271
+ *
1272
+ * @since 1.2.0
1273
+ * @deprecated 2.8.0
1274
+ * @deprecated Use get_term_children()
1275
+ * @see get_term_children()
1276
+ *
1277
+ * @param int $id Category ID to retrieve children.
1278
+ * @param string $before Optional. Prepend before category term ID.
1279
+ * @param string $after Optional, default is empty string. Append after category term ID.
1280
+ * @param array $visited Optional. Category Term IDs that have already been added.
1281
+ * @return string
1282
+ */
1283
+ function get_category_children( $id, $before = '/', $after = '', $visited = array() ) {
1284
+ _deprecated_function( __FUNCTION__, '2.8', 'get_term_children()' );
1285
+ if ( 0 == $id )
1286
+ return '';
1287
+
1288
+ $chain = '';
1289
+ /** TODO: consult hierarchy */
1290
+ $cat_ids = get_all_category_ids();
1291
+ foreach ( (array) $cat_ids as $cat_id ) {
1292
+ if ( $cat_id == $id )
1293
+ continue;
1294
+
1295
+ $category = get_category( $cat_id );
1296
+ if ( is_wp_error( $category ) )
1297
+ return $category;
1298
+ if ( $category->parent == $id && !in_array( $category->term_id, $visited ) ) {
1299
+ $visited[] = $category->term_id;
1300
+ $chain .= $before.$category->term_id.$after;
1301
+ $chain .= get_category_children( $category->term_id, $before, $after );
1302
+ }
1303
+ }
1304
+ return $chain;
1305
+ }
1306
+
1307
+ /**
1308
+ * Retrieves all category IDs.
1309
+ *
1310
+ * @since 2.0.0
1311
+ * @deprecated 4.0.0 Use get_terms() instead.
1312
+ * @see get_terms()
1313
+ * @link https://codex.wordpress.org/Function_Reference/get_all_category_ids
1314
+ *
1315
+ * @return object List of all of the category IDs.
1316
+ */
1317
+ function get_all_category_ids() {
1318
+ _deprecated_function( __FUNCTION__, '4.0', 'get_terms()' );
1319
+
1320
+ if ( ! $cat_ids = wp_cache_get( 'all_category_ids', 'category' ) ) {
1321
+ $cat_ids = get_terms( 'category', array('fields' => 'ids', 'get' => 'all') );
1322
+ wp_cache_add( 'all_category_ids', $cat_ids, 'category' );
1323
+ }
1324
+
1325
+ return $cat_ids;
1326
+ }
1327
+
1328
+ /**
1329
+ * Retrieve the description of the author of the current post.
1330
+ *
1331
+ * @since 1.5.0
1332
+ * @deprecated 2.8.0
1333
+ * @deprecated Use get_the_author_meta('description')
1334
+ * @see get_the_author_meta()
1335
+ *
1336
+ * @return string The author's description.
1337
+ */
1338
+ function get_the_author_description() {
1339
+ _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'description\')' );
1340
+ return get_the_author_meta('description');
1341
+ }
1342
+
1343
+ /**
1344
+ * Display the description of the author of the current post.
1345
+ *
1346
+ * @since 1.0.0
1347
+ * @deprecated 2.8.0
1348
+ * @deprecated Use the_author_meta('description')
1349
+ * @see the_author_meta()
1350
+ */
1351
+ function the_author_description() {
1352
+ _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'description\')' );
1353
+ the_author_meta('description');
1354
+ }
1355
+
1356
+ /**
1357
+ * Retrieve the login name of the author of the current post.
1358
+ *
1359
+ * @since 1.5.0
1360
+ * @deprecated 2.8.0
1361
+ * @deprecated Use get_the_author_meta('login')
1362
+ * @see get_the_author_meta()
1363
+ *
1364
+ * @return string The author's login name (username).
1365
+ */
1366
+ function get_the_author_login() {
1367
+ _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'login\')' );
1368
+ return get_the_author_meta('login');
1369
+ }
1370
+
1371
+ /**
1372
+ * Display the login name of the author of the current post.
1373
+ *
1374
+ * @since 0.71
1375
+ * @deprecated 2.8.0
1376
+ * @deprecated Use the_author_meta('login')
1377
+ * @see the_author_meta()
1378
+ */
1379
+ function the_author_login() {
1380
+ _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'login\')' );
1381
+ the_author_meta('login');
1382
+ }
1383
+
1384
+ /**
1385
+ * Retrieve the first name of the author of the current post.
1386
+ *
1387
+ * @since 1.5.0
1388
+ * @deprecated 2.8.0
1389
+ * @deprecated Use get_the_author_meta('first_name')
1390
+ * @see get_the_author_meta()
1391
+ *
1392
+ * @return string The author's first name.
1393
+ */
1394
+ function get_the_author_firstname() {
1395
+ _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'first_name\')' );
1396
+ return get_the_author_meta('first_name');
1397
+ }
1398
+
1399
+ /**
1400
+ * Display the first name of the author of the current post.
1401
+ *
1402
+ * @since 0.71
1403
+ * @deprecated 2.8.0
1404
+ * @deprecated Use the_author_meta('first_name')
1405
+ * @see the_author_meta()
1406
+ */
1407
+ function the_author_firstname() {
1408
+ _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'first_name\')' );
1409
+ the_author_meta('first_name');
1410
+ }
1411
+
1412
+ /**
1413
+ * Retrieve the last name of the author of the current post.
1414
+ *
1415
+ * @since 1.5.0
1416
+ * @deprecated 2.8.0
1417
+ * @deprecated Use get_the_author_meta('last_name')
1418
+ * @see get_the_author_meta()
1419
+ *
1420
+ * @return string The author's last name.
1421
+ */
1422
+ function get_the_author_lastname() {
1423
+ _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'last_name\')' );
1424
+ return get_the_author_meta('last_name');
1425
+ }
1426
+
1427
+ /**
1428
+ * Display the last name of the author of the current post.
1429
+ *
1430
+ * @since 0.71
1431
+ * @deprecated 2.8.0
1432
+ * @deprecated Use the_author_meta('last_name')
1433
+ * @see the_author_meta()
1434
+ */
1435
+ function the_author_lastname() {
1436
+ _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'last_name\')' );
1437
+ the_author_meta('last_name');
1438
+ }
1439
+
1440
+ /**
1441
+ * Retrieve the nickname of the author of the current post.
1442
+ *
1443
+ * @since 1.5.0
1444
+ * @deprecated 2.8.0
1445
+ * @deprecated Use get_the_author_meta('nickname')
1446
+ * @see get_the_author_meta()
1447
+ *
1448
+ * @return string The author's nickname.
1449
+ */
1450
+ function get_the_author_nickname() {
1451
+ _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'nickname\')' );
1452
+ return get_the_author_meta('nickname');
1453
+ }
1454
+
1455
+ /**
1456
+ * Display the nickname of the author of the current post.
1457
+ *
1458
+ * @since 0.71
1459
+ * @deprecated 2.8.0
1460
+ * @deprecated Use the_author_meta('nickname')
1461
+ * @see the_author_meta()
1462
+ */
1463
+ function the_author_nickname() {
1464
+ _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'nickname\')' );
1465
+ the_author_meta('nickname');
1466
+ }
1467
+
1468
+ /**
1469
+ * Retrieve the email of the author of the current post.
1470
+ *
1471
+ * @since 1.5.0
1472
+ * @deprecated 2.8.0
1473
+ * @deprecated Use get_the_author_meta('email')
1474
+ * @see get_the_author_meta()
1475
+ *
1476
+ * @return string The author's username.
1477
+ */
1478
+ function get_the_author_email() {
1479
+ _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'email\')' );
1480
+ return get_the_author_meta('email');
1481
+ }
1482
+
1483
+ /**
1484
+ * Display the email of the author of the current post.
1485
+ *
1486
+ * @since 0.71
1487
+ * @deprecated 2.8.0
1488
+ * @deprecated Use the_author_meta('email')
1489
+ * @see the_author_meta()
1490
+ */
1491
+ function the_author_email() {
1492
+ _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'email\')' );
1493
+ the_author_meta('email');
1494
+ }
1495
+
1496
+ /**
1497
+ * Retrieve the ICQ number of the author of the current post.
1498
+ *
1499
+ * @since 1.5.0
1500
+ * @deprecated 2.8.0
1501
+ * @deprecated Use get_the_author_meta('icq')
1502
+ * @see get_the_author_meta()
1503
+ *
1504
+ * @return string The author's ICQ number.
1505
+ */
1506
+ function get_the_author_icq() {
1507
+ _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'icq\')' );
1508
+ return get_the_author_meta('icq');
1509
+ }
1510
+
1511
+ /**
1512
+ * Display the ICQ number of the author of the current post.
1513
+ *
1514
+ * @since 0.71
1515
+ * @deprecated 2.8.0
1516
+ * @deprecated Use the_author_meta('icq')
1517
+ * @see the_author_meta()
1518
+ */
1519
+ function the_author_icq() {
1520
+ _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'icq\')' );
1521
+ the_author_meta('icq');
1522
+ }
1523
+
1524
+ /**
1525
+ * Retrieve the Yahoo! IM name of the author of the current post.
1526
+ *
1527
+ * @since 1.5.0
1528
+ * @deprecated 2.8.0
1529
+ * @deprecated Use get_the_author_meta('yim')
1530
+ * @see get_the_author_meta()
1531
+ *
1532
+ * @return string The author's Yahoo! IM name.
1533
+ */
1534
+ function get_the_author_yim() {
1535
+ _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'yim\')' );
1536
+ return get_the_author_meta('yim');
1537
+ }
1538
+
1539
+ /**
1540
+ * Display the Yahoo! IM name of the author of the current post.
1541
+ *
1542
+ * @since 0.71
1543
+ * @deprecated 2.8.0
1544
+ * @deprecated Use the_author_meta('yim')
1545
+ * @see the_author_meta()
1546
+ */
1547
+ function the_author_yim() {
1548
+ _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'yim\')' );
1549
+ the_author_meta('yim');
1550
+ }
1551
+
1552
+ /**
1553
+ * Retrieve the MSN address of the author of the current post.
1554
+ *
1555
+ * @since 1.5.0
1556
+ * @deprecated 2.8.0
1557
+ * @deprecated Use get_the_author_meta('msn')
1558
+ * @see get_the_author_meta()
1559
+ *
1560
+ * @return string The author's MSN address.
1561
+ */
1562
+ function get_the_author_msn() {
1563
+ _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'msn\')' );
1564
+ return get_the_author_meta('msn');
1565
+ }
1566
+
1567
+ /**
1568
+ * Display the MSN address of the author of the current post.
1569
+ *
1570
+ * @since 0.71
1571
+ * @deprecated 2.8.0
1572
+ * @deprecated Use the_author_meta('msn')
1573
+ * @see the_author_meta()
1574
+ */
1575
+ function the_author_msn() {
1576
+ _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'msn\')' );
1577
+ the_author_meta('msn');
1578
+ }
1579
+
1580
+ /**
1581
+ * Retrieve the AIM address of the author of the current post.
1582
+ *
1583
+ * @since 1.5.0
1584
+ * @deprecated 2.8.0
1585
+ * @deprecated Use get_the_author_meta('aim')
1586
+ * @see get_the_author_meta()
1587
+ *
1588
+ * @return string The author's AIM address.
1589
+ */
1590
+ function get_the_author_aim() {
1591
+ _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'aim\')' );
1592
+ return get_the_author_meta('aim');
1593
+ }
1594
+
1595
+ /**
1596
+ * Display the AIM address of the author of the current post.
1597
+ *
1598
+ * @since 0.71
1599
+ * @see the_author_meta()
1600
+ * @deprecated 2.8.0
1601
+ * @deprecated Use the_author_meta('aim')
1602
+ */
1603
+ function the_author_aim() {
1604
+ _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'aim\')' );
1605
+ the_author_meta('aim');
1606
+ }
1607
+
1608
+ /**
1609
+ * Retrieve the specified author's preferred display name.
1610
+ *
1611
+ * @since 1.0.0
1612
+ * @deprecated 2.8.0
1613
+ * @deprecated Use get_the_author_meta('display_name')
1614
+ * @see get_the_author_meta()
1615
+ *
1616
+ * @param int $auth_id The ID of the author.
1617
+ * @return string The author's display name.
1618
+ */
1619
+ function get_author_name( $auth_id = false ) {
1620
+ _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'display_name\')' );
1621
+ return get_the_author_meta('display_name', $auth_id);
1622
+ }
1623
+
1624
+ /**
1625
+ * Retrieve the URL to the home page of the author of the current post.
1626
+ *
1627
+ * @since 1.5.0
1628
+ * @deprecated 2.8.0
1629
+ * @deprecated Use get_the_author_meta('url')
1630
+ * @see get_the_author_meta()
1631
+ *
1632
+ * @return string The URL to the author's page.
1633
+ */
1634
+ function get_the_author_url() {
1635
+ _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'url\')' );
1636
+ return get_the_author_meta('url');
1637
+ }
1638
+
1639
+ /**
1640
+ * Display the URL to the home page of the author of the current post.
1641
+ *
1642
+ * @since 0.71
1643
+ * @deprecated 2.8.0
1644
+ * @deprecated Use the_author_meta('url')
1645
+ * @see the_author_meta()
1646
+ */
1647
+ function the_author_url() {
1648
+ _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'url\')' );
1649
+ the_author_meta('url');
1650
+ }
1651
+
1652
+ /**
1653
+ * Retrieve the ID of the author of the current post.
1654
+ *
1655
+ * @since 1.5.0
1656
+ * @deprecated 2.8.0
1657
+ * @deprecated Use get_the_author_meta('ID')
1658
+ * @see get_the_author_meta()
1659
+ *
1660
+ * @return string|int The author's ID.
1661
+ */
1662
+ function get_the_author_ID() {
1663
+ _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'ID\')' );
1664
+ return get_the_author_meta('ID');
1665
+ }
1666
+
1667
+ /**
1668
+ * Display the ID of the author of the current post.
1669
+ *
1670
+ * @since 0.71
1671
+ * @deprecated 2.8.0
1672
+ * @deprecated Use the_author_meta('ID')
1673
+ * @see the_author_meta()
1674
+ */
1675
+ function the_author_ID() {
1676
+ _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'ID\')' );
1677
+ the_author_meta('ID');
1678
+ }
1679
+
1680
+ /**
1681
+ * Display the post content for the feed.
1682
+ *
1683
+ * For encoding the html or the $encode_html parameter, there are three possible
1684
+ * values. '0' will make urls footnotes and use make_url_footnote(). '1' will
1685
+ * encode special characters and automatically display all of the content. The
1686
+ * value of '2' will strip all HTML tags from the content.
1687
+ *
1688
+ * Also note that you cannot set the amount of words and not set the html
1689
+ * encoding. If that is the case, then the html encoding will default to 2,
1690
+ * which will strip all HTML tags.
1691
+ *
1692
+ * To restrict the amount of words of the content, you can use the cut
1693
+ * parameter. If the content is less than the amount, then there won't be any
1694
+ * dots added to the end. If there is content left over, then dots will be added
1695
+ * and the rest of the content will be removed.
1696
+ *
1697
+ * @since 0.71
1698
+ *
1699
+ * @deprecated 2.9.0
1700
+ * @deprecated Use the_content_feed()
1701
+ * @see the_content_feed()
1702
+ *
1703
+ * @param string $more_link_text Optional. Text to display when more content is available but not displayed.
1704
+ * @param int $stripteaser Optional. Default is 0.
1705
+ * @param string $more_file Optional.
1706
+ * @param int $cut Optional. Amount of words to keep for the content.
1707
+ * @param int $encode_html Optional. How to encode the content.
1708
+ */
1709
+ function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) {
1710
+ _deprecated_function( __FUNCTION__, '2.9', 'the_content_feed' );
1711
+ $content = get_the_content($more_link_text, $stripteaser);
1712
+ $content = apply_filters('the_content_rss', $content);
1713
+ if ( $cut && !$encode_html )
1714
+ $encode_html = 2;
1715
+ if ( 1== $encode_html ) {
1716
+ $content = esc_html($content);
1717
+ $cut = 0;
1718
+ } elseif ( 0 == $encode_html ) {
1719
+ $content = make_url_footnote($content);
1720
+ } elseif ( 2 == $encode_html ) {
1721
+ $content = strip_tags($content);
1722
+ }
1723
+ if ( $cut ) {
1724
+ $blah = explode(' ', $content);
1725
+ if ( count($blah) > $cut ) {
1726
+ $k = $cut;
1727
+ $use_dotdotdot = 1;
1728
+ } else {
1729
+ $k = count($blah);
1730
+ $use_dotdotdot = 0;
1731
+ }
1732
+
1733
+ /** @todo Check performance, might be faster to use array slice instead. */
1734
+ for ( $i=0; $i<$k; $i++ )
1735
+ $excerpt .= $blah[$i].' ';
1736
+ $excerpt .= ($use_dotdotdot) ? '...' : '';
1737
+ $content = $excerpt;
1738
+ }
1739
+ $content = str_replace(']]>', ']]&gt;', $content);
1740
+ echo $content;
1741
+ }
1742
+
1743
+ /**
1744
+ * Strip HTML and put links at the bottom of stripped content.
1745
+ *
1746
+ * Searches for all of the links, strips them out of the content, and places
1747
+ * them at the bottom of the content with numbers.
1748
+ *
1749
+ * @since 0.71
1750
+ * @deprecated 2.9.0
1751
+ *
1752
+ * @param string $content Content to get links
1753
+ * @return string HTML stripped out of content with links at the bottom.
1754
+ */
1755
+ function make_url_footnote( $content ) {
1756
+ _deprecated_function( __FUNCTION__, '2.9', '' );
1757
+ preg_match_all( '/<a(.+?)href=\"(.+?)\"(.*?)>(.+?)<\/a>/', $content, $matches );
1758
+ $links_summary = "\n";
1759
+ for ( $i = 0, $c = count( $matches[0] ); $i < $c; $i++ ) {
1760
+ $link_match = $matches[0][$i];
1761
+ $link_number = '['.($i+1).']';
1762
+ $link_url = $matches[2][$i];
1763
+ $link_text = $matches[4][$i];
1764
+ $content = str_replace( $link_match, $link_text . ' ' . $link_number, $content );
1765
+ $link_url = ( ( strtolower( substr( $link_url, 0, 7 ) ) != 'http://' ) && ( strtolower( substr( $link_url, 0, 8 ) ) != 'https://' ) ) ? get_option( 'home' ) . $link_url : $link_url;
1766
+ $links_summary .= "\n" . $link_number . ' ' . $link_url;
1767
+ }
1768
+ $content = strip_tags( $content );
1769
+ $content .= $links_summary;
1770
+ return $content;
1771
+ }
1772
+
1773
+ /**
1774
+ * Retrieve translated string with vertical bar context
1775
+ *
1776
+ * Quite a few times, there will be collisions with similar translatable text
1777
+ * found in more than two places but with different translated context.
1778
+ *
1779
+ * In order to use the separate contexts, the _c() function is used and the
1780
+ * translatable string uses a pipe ('|') which has the context the string is in.
1781
+ *
1782
+ * When the translated string is returned, it is everything before the pipe, not
1783
+ * including the pipe character. If there is no pipe in the translated text then
1784
+ * everything is returned.
1785
+ *
1786
+ * @since 2.2.0
1787
+ * @deprecated 2.9.0
1788
+ * @deprecated Use _x()
1789
+ * @see _x()
1790
+ *
1791
+ * @param string $text Text to translate
1792
+ * @param string $domain Optional. Domain to retrieve the translated text
1793
+ * @return string Translated context string without pipe
1794
+ */
1795
+ function _c( $text, $domain = 'default' ) {
1796
+ _deprecated_function( __FUNCTION__, '2.9', '_x()' );
1797
+ return before_last_bar( translate( $text, $domain ) );
1798
+ }
1799
+
1800
+ /**
1801
+ * Translates $text like translate(), but assumes that the text
1802
+ * contains a context after its last vertical bar.
1803
+ *
1804
+ * @since 2.5.0
1805
+ * @deprecated 3.0.0
1806
+ * @deprecated Use _x()
1807
+ * @see _x()
1808
+ *
1809
+ * @param string $text Text to translate
1810
+ * @param string $domain Domain to retrieve the translated text
1811
+ * @return string Translated text
1812
+ */
1813
+ function translate_with_context( $text, $domain = 'default' ) {
1814
+ _deprecated_function( __FUNCTION__, '2.9', '_x()' );
1815
+ return before_last_bar( translate( $text, $domain ) );
1816
+ }
1817
+
1818
+ /**
1819
+ * A version of _n(), which supports contexts.
1820
+ * Strips everything from the translation after the last bar.
1821
+ *
1822
+ * @since 2.7.0
1823
+ * @deprecated 3.0.0
1824
+ * @deprecated Use _nx()
1825
+ * @see _nx()
1826
+ * @see _n() For parameters.
1827
+ * @see _c() For parameters. _c() is deprecated.
1828
+ *
1829
+ */
1830
+ function _nc( $single, $plural, $number, $domain = 'default' ) {
1831
+ _deprecated_function( __FUNCTION__, '2.9', '_nx()' );
1832
+ return before_last_bar( _n( $single, $plural, $number, $domain ) );
1833
+ }
1834
+
1835
+ /**
1836
+ * Retrieve the plural or single form based on the amount.
1837
+ *
1838
+ * @since 1.2.0
1839
+ * @deprecated 2.8.0
1840
+ * @deprecated Use _n()
1841
+ * @see _n()
1842
+ */
1843
+ function __ngettext() {
1844
+ _deprecated_function( __FUNCTION__, '2.8', '_n()' );
1845
+ $args = func_get_args();
1846
+ return call_user_func_array('_n', $args);
1847
+ }
1848
+
1849
+ /**
1850
+ * Register plural strings in POT file, but don't translate them.
1851
+ *
1852
+ * @since 2.5.0
1853
+ * @deprecated 2.8.0
1854
+ * @deprecated Use _n_noop()
1855
+ * @see _n_noop()
1856
+ */
1857
+ function __ngettext_noop() {
1858
+ _deprecated_function( __FUNCTION__, '2.8', '_n_noop()' );
1859
+ $args = func_get_args();
1860
+ return call_user_func_array('_n_noop', $args);
1861
+
1862
+ }
1863
+
1864
+ /**
1865
+ * Retrieve all autoload options, or all options if no autoloaded ones exist.
1866
+ *
1867
+ * @since 1.0.0
1868
+ * @deprecated 3.0.0
1869
+ * @deprecated Use wp_load_alloptions())
1870
+ * @see wp_load_alloptions()
1871
+ *
1872
+ * @return array List of all options.
1873
+ */
1874
+ function get_alloptions() {
1875
+ _deprecated_function( __FUNCTION__, '3.0', 'wp_load_alloptions()' );
1876
+ return wp_load_alloptions();
1877
+ }
1878
+
1879
+ /**
1880
+ * Retrieve HTML content of attachment image with link.
1881
+ *
1882
+ * @since 2.0.0
1883
+ * @deprecated 2.5.0
1884
+ * @deprecated Use wp_get_attachment_link()
1885
+ * @see wp_get_attachment_link()
1886
+ *
1887
+ * @param int $id Optional. Post ID.
1888
+ * @param bool $fullsize Optional, default is false. Whether to use full size image.
1889
+ * @param array $max_dims Optional. Max image dimensions.
1890
+ * @param bool $permalink Optional, default is false. Whether to include permalink to image.
1891
+ * @return string
1892
+ */
1893
+ function get_the_attachment_link($id = 0, $fullsize = false, $max_dims = false, $permalink = false) {
1894
+ _deprecated_function( __FUNCTION__, '2.5', 'wp_get_attachment_link()' );
1895
+ $id = (int) $id;
1896
+ $_post = get_post($id);
1897
+
1898
+ if ( ('attachment' != $_post->post_type) || !$url = wp_get_attachment_url($_post->ID) )
1899
+ return __('Missing Attachment');
1900
+
1901
+ if ( $permalink )
1902
+ $url = get_attachment_link($_post->ID);
1903
+
1904
+ $post_title = esc_attr($_post->post_title);
1905
+
1906
+ $innerHTML = get_attachment_innerHTML($_post->ID, $fullsize, $max_dims);
1907
+ return "<a href='$url' title='$post_title'>$innerHTML</a>";
1908
+ }
1909
+
1910
+ /**
1911
+ * Retrieve icon URL and Path.
1912
+ *
1913
+ * @since 2.1.0
1914
+ * @deprecated 2.5.0
1915
+ * @deprecated Use wp_get_attachment_image_src()
1916
+ * @see wp_get_attachment_image_src()
1917
+ *
1918
+ * @param int $id Optional. Post ID.
1919
+ * @param bool $fullsize Optional, default to false. Whether to have full image.
1920
+ * @return array Icon URL and full path to file, respectively.
1921
+ */
1922
+ function get_attachment_icon_src( $id = 0, $fullsize = false ) {
1923
+ _deprecated_function( __FUNCTION__, '2.5', 'wp_get_attachment_image_src()' );
1924
+ $id = (int) $id;
1925
+ if ( !$post = get_post($id) )
1926
+ return false;
1927
+
1928
+ $file = get_attached_file( $post->ID );
1929
+
1930
+ if ( !$fullsize && $src = wp_get_attachment_thumb_url( $post->ID ) ) {
1931
+ // We have a thumbnail desired, specified and existing
1932
+
1933
+ $src_file = basename($src);
1934
+ } elseif ( wp_attachment_is_image( $post->ID ) ) {
1935
+ // We have an image without a thumbnail
1936
+
1937
+ $src = wp_get_attachment_url( $post->ID );
1938
+ $src_file = & $file;
1939
+ } elseif ( $src = wp_mime_type_icon( $post->ID ) ) {
1940
+ // No thumb, no image. We'll look for a mime-related icon instead.
1941
+
1942
+ $icon_dir = apply_filters( 'icon_dir', get_template_directory() . '/images' );
1943
+ $src_file = $icon_dir . '/' . basename($src);
1944
+ }
1945
+
1946
+ if ( !isset($src) || !$src )
1947
+ return false;
1948
+
1949
+ return array($src, $src_file);
1950
+ }
1951
+
1952
+ /**
1953
+ * Retrieve HTML content of icon attachment image element.
1954
+ *
1955
+ * @since 2.0.0
1956
+ * @deprecated 2.5.0
1957
+ * @deprecated Use wp_get_attachment_image()
1958
+ * @see wp_get_attachment_image()
1959
+ *
1960
+ * @param int $id Optional. Post ID.
1961
+ * @param bool $fullsize Optional, default to false. Whether to have full size image.
1962
+ * @param array $max_dims Optional. Dimensions of image.
1963
+ * @return false|string HTML content.
1964
+ */
1965
+ function get_attachment_icon( $id = 0, $fullsize = false, $max_dims = false ) {
1966
+ _deprecated_function( __FUNCTION__, '2.5', 'wp_get_attachment_image()' );
1967
+ $id = (int) $id;
1968
+ if ( !$post = get_post($id) )
1969
+ return false;
1970
+
1971
+ if ( !$src = get_attachment_icon_src( $post->ID, $fullsize ) )
1972
+ return false;
1973
+
1974
+ list($src, $src_file) = $src;
1975
+
1976
+ // Do we need to constrain the image?
1977
+ if ( ($max_dims = apply_filters('attachment_max_dims', $max_dims)) && file_exists($src_file) ) {
1978
+
1979
+ $imagesize = getimagesize($src_file);
1980
+
1981
+ if (($imagesize[0] > $max_dims[0]) || $imagesize[1] > $max_dims[1] ) {
1982
+ $actual_aspect = $imagesize[0] / $imagesize[1];
1983
+ $desired_aspect = $max_dims[0] / $max_dims[1];
1984
+
1985
+ if ( $actual_aspect >= $desired_aspect ) {
1986
+ $height = $actual_aspect * $max_dims[0];
1987
+ $constraint = "width='{$max_dims[0]}' ";
1988
+ $post->iconsize = array($max_dims[0], $height);
1989
+ } else {
1990
+ $width = $max_dims[1] / $actual_aspect;
1991
+ $constraint = "height='{$max_dims[1]}' ";
1992
+ $post->iconsize = array($width, $max_dims[1]);
1993
+ }
1994
+ } else {
1995
+ $post->iconsize = array($imagesize[0], $imagesize[1]);
1996
+ $constraint = '';
1997
+ }
1998
+ } else {
1999
+ $constraint = '';
2000
+ }
2001
+
2002
+ $post_title = esc_attr($post->post_title);
2003
+
2004
+ $icon = "<img src='$src' title='$post_title' alt='$post_title' $constraint/>";
2005
+
2006
+ return apply_filters( 'attachment_icon', $icon, $post->ID );
2007
+ }
2008
+
2009
+ /**
2010
+ * Retrieve HTML content of image element.
2011
+ *
2012
+ * @since 2.0.0
2013
+ * @deprecated 2.5.0
2014
+ * @deprecated Use wp_get_attachment_image()
2015
+ * @see wp_get_attachment_image()
2016
+ *
2017
+ * @param int $id Optional. Post ID.
2018
+ * @param bool $fullsize Optional, default to false. Whether to have full size image.
2019
+ * @param array $max_dims Optional. Dimensions of image.
2020
+ * @return false|string
2021
+ */
2022
+ function get_attachment_innerHTML($id = 0, $fullsize = false, $max_dims = false) {
2023
+ _deprecated_function( __FUNCTION__, '2.5', 'wp_get_attachment_image()' );
2024
+ $id = (int) $id;
2025
+ if ( !$post = get_post($id) )
2026
+ return false;
2027
+
2028
+ if ( $innerHTML = get_attachment_icon($post->ID, $fullsize, $max_dims))
2029
+ return $innerHTML;
2030
+
2031
+ $innerHTML = esc_attr($post->post_title);
2032
+
2033
+ return apply_filters('attachment_innerHTML', $innerHTML, $post->ID);
2034
+ }
2035
+
2036
+ /**
2037
+ * Retrieve bookmark data based on ID.
2038
+ *
2039
+ * @since 2.0.0
2040
+ * @deprecated 2.1.0
2041
+ * @deprecated Use get_bookmark()
2042
+ * @see get_bookmark()
2043
+ *
2044
+ * @param int $bookmark_id ID of link
2045
+ * @param string $output OBJECT, ARRAY_N, or ARRAY_A
2046
+ * @return object|array
2047
+ */
2048
+ function get_link($bookmark_id, $output = OBJECT, $filter = 'raw') {
2049
+ _deprecated_function( __FUNCTION__, '2.1', 'get_bookmark()' );
2050
+ return get_bookmark($bookmark_id, $output, $filter);
2051
+ }
2052
+
2053
+ /**
2054
+ * Performs esc_url() for database or redirect usage.
2055
+ *
2056
+ * @since 2.3.1
2057
+ * @deprecated 2.8.0
2058
+ * @deprecated Use esc_url_raw()
2059
+ * @see esc_url_raw()
2060
+ *
2061
+ * @param string $url The URL to be cleaned.
2062
+ * @param array $protocols An array of acceptable protocols.
2063
+ * @return string The cleaned URL.
2064
+ */
2065
+ function sanitize_url( $url, $protocols = null ) {
2066
+ _deprecated_function( __FUNCTION__, '2.8', 'esc_url_raw()' );
2067
+ return esc_url_raw( $url, $protocols );
2068
+ }
2069
+
2070
+ /**
2071
+ * Checks and cleans a URL.
2072
+ *
2073
+ * A number of characters are removed from the URL. If the URL is for displaying
2074
+ * (the default behaviour) ampersands are also replaced. The 'clean_url' filter
2075
+ * is applied to the returned cleaned URL.
2076
+ *
2077
+ * @since 1.2.0
2078
+ * @deprecated 3.0.0
2079
+ * @deprecated Use esc_url()
2080
+ * @see Alias for esc_url()
2081
+ *
2082
+ * @param string $url The URL to be cleaned.
2083
+ * @param array $protocols Optional. An array of acceptable protocols.
2084
+ * @param string $context Optional. How the URL will be used. Default is 'display'.
2085
+ * @return string The cleaned $url after the 'clean_url' filter is applied.
2086
+ */
2087
+ function clean_url( $url, $protocols = null, $context = 'display' ) {
2088
+ if ( $context == 'db' )
2089
+ _deprecated_function( 'clean_url( $context = \'db\' )', '3.0', 'esc_url_raw()' );
2090
+ else
2091
+ _deprecated_function( __FUNCTION__, '3.0', 'esc_url()' );
2092
+ return esc_url( $url, $protocols, $context );
2093
+ }
2094
+
2095
+ /**
2096
+ * Escape single quotes, specialchar double quotes, and fix line endings.
2097
+ *
2098
+ * The filter 'js_escape' is also applied by esc_js()
2099
+ *
2100
+ * @since 2.0.4
2101
+ * @deprecated 2.8.0
2102
+ * @deprecated Use esc_js()
2103
+ * @see esc_js()
2104
+ *
2105
+ * @param string $text The text to be escaped.
2106
+ * @return string Escaped text.
2107
+ */
2108
+ function js_escape( $text ) {
2109
+ _deprecated_function( __FUNCTION__, '2.8', 'esc_js()' );
2110
+ return esc_js( $text );
2111
+ }
2112
+
2113
+ /**
2114
+ * Escaping for HTML blocks.
2115
+ *
2116
+ * @deprecated 2.8.0
2117
+ * @deprecated Use esc_html()
2118
+ * @see esc_html()
2119
+ */
2120
+ function wp_specialchars( $string, $quote_style = ENT_NOQUOTES, $charset = false, $double_encode = false ) {
2121
+ _deprecated_function( __FUNCTION__, '2.8', 'esc_html()' );
2122
+ if ( func_num_args() > 1 ) { // Maintain backwards compat for people passing additional args
2123
+ $args = func_get_args();
2124
+ return call_user_func_array( '_wp_specialchars', $args );
2125
+ } else {
2126
+ return esc_html( $string );
2127
+ }
2128
+ }
2129
+
2130
+ /**
2131
+ * Escaping for HTML attributes.
2132
+ *
2133
+ * @since 2.0.6
2134
+ * @deprecated 2.8.0
2135
+ * @deprecated Use esc_attr()
2136
+ * @see esc_attr()
2137
+ *
2138
+ * @param string $text
2139
+ * @return string
2140
+ */
2141
+ function attribute_escape( $text ) {
2142
+ _deprecated_function( __FUNCTION__, '2.8', 'esc_attr()' );
2143
+ return esc_attr( $text );
2144
+ }
2145
+
2146
+ /**
2147
+ * Register widget for sidebar with backwards compatibility.
2148
+ *
2149
+ * Allows $name to be an array that accepts either three elements to grab the
2150
+ * first element and the third for the name or just uses the first element of
2151
+ * the array for the name.
2152
+ *
2153
+ * Passes to {@link wp_register_sidebar_widget()} after argument list and
2154
+ * backwards compatibility is complete.
2155
+ *
2156
+ * @since 2.2.0
2157
+ * @deprecated 2.8.0
2158
+ * @deprecated Use wp_register_sidebar_widget()
2159
+ * @see wp_register_sidebar_widget()
2160
+ *
2161
+ * @param string|int $name Widget ID.
2162
+ * @param callback $output_callback Run when widget is called.
2163
+ * @param string $classname Classname widget option.
2164
+ * @param mixed $params ,... Widget parameters.
2165
+ */
2166
+ function register_sidebar_widget($name, $output_callback, $classname = '') {
2167
+ _deprecated_function( __FUNCTION__, '2.8', 'wp_register_sidebar_widget()' );
2168
+ // Compat
2169
+ if ( is_array($name) ) {
2170
+ if ( count($name) == 3 )
2171
+ $name = sprintf($name[0], $name[2]);
2172
+ else
2173
+ $name = $name[0];
2174
+ }
2175
+
2176
+ $id = sanitize_title($name);
2177
+ $options = array();
2178
+ if ( !empty($classname) && is_string($classname) )
2179
+ $options['classname'] = $classname;
2180
+ $params = array_slice(func_get_args(), 2);
2181
+ $args = array($id, $name, $output_callback, $options);
2182
+ if ( !empty($params) )
2183
+ $args = array_merge($args, $params);
2184
+
2185
+ call_user_func_array('wp_register_sidebar_widget', $args);
2186
+ }
2187
+
2188
+ /**
2189
+ * Alias of {@link wp_unregister_sidebar_widget()}.
2190
+ *
2191
+ * @since 2.2.0
2192
+ * @deprecated 2.8.0
2193
+ * @deprecated Use wp_unregister_sidebar_widget()
2194
+ * @see wp_unregister_sidebar_widget()
2195
+ *
2196
+ * @param int|string $id Widget ID.
2197
+ */
2198
+ function unregister_sidebar_widget($id) {
2199
+ _deprecated_function( __FUNCTION__, '2.8', 'wp_unregister_sidebar_widget()' );
2200
+ return wp_unregister_sidebar_widget($id);
2201
+ }
2202
+
2203
+ /**
2204
+ * Registers widget control callback for customizing options.
2205
+ *
2206
+ * Allows $name to be an array that accepts either three elements to grab the
2207
+ * first element and the third for the name or just uses the first element of
2208
+ * the array for the name.
2209
+ *
2210
+ * Passes to {@link wp_register_widget_control()} after the argument list has
2211
+ * been compiled.
2212
+ *
2213
+ * @since 2.2.0
2214
+ * @deprecated 2.8.0
2215
+ * @deprecated Use wp_register_widget_control()
2216
+ * @see wp_register_widget_control()
2217
+ *
2218
+ * @param int|string $name Sidebar ID.
2219
+ * @param callback $control_callback Widget control callback to display and process form.
2220
+ * @param int $width Widget width.
2221
+ * @param int $height Widget height.
2222
+ */
2223
+ function register_widget_control($name, $control_callback, $width = '', $height = '') {
2224
+ _deprecated_function( __FUNCTION__, '2.8', 'wp_register_widget_control()' );
2225
+ // Compat
2226
+ if ( is_array($name) ) {
2227
+ if ( count($name) == 3 )
2228
+ $name = sprintf($name[0], $name[2]);
2229
+ else
2230
+ $name = $name[0];
2231
+ }
2232
+
2233
+ $id = sanitize_title($name);
2234
+ $options = array();
2235
+ if ( !empty($width) )
2236
+ $options['width'] = $width;
2237
+ if ( !empty($height) )
2238
+ $options['height'] = $height;
2239
+ $params = array_slice(func_get_args(), 4);
2240
+ $args = array($id, $name, $control_callback, $options);
2241
+ if ( !empty($params) )
2242
+ $args = array_merge($args, $params);
2243
+
2244
+ call_user_func_array('wp_register_widget_control', $args);
2245
+ }
2246
+
2247
+ /**
2248
+ * Alias of {@link wp_unregister_widget_control()}.
2249
+ *
2250
+ * @since 2.2.0
2251
+ * @deprecated 2.8.0
2252
+ * @deprecated Use wp_unregister_widget_control()
2253
+ * @see wp_unregister_widget_control()
2254
+ *
2255
+ * @param int|string $id Widget ID.
2256
+ */
2257
+ function unregister_widget_control($id) {
2258
+ _deprecated_function( __FUNCTION__, '2.8', 'wp_unregister_widget_control()' );
2259
+ return wp_unregister_widget_control($id);
2260
+ }
2261
+
2262
+ /**
2263
+ * Remove user meta data.
2264
+ *
2265
+ * @since 2.0.0
2266
+ * @deprecated 3.0.0
2267
+ * @deprecated Use delete_user_meta()
2268
+ * @see delete_user_meta()
2269
+ *
2270
+ * @param int $user_id User ID.
2271
+ * @param string $meta_key Metadata key.
2272
+ * @param mixed $meta_value Metadata value.
2273
+ * @return bool True deletion completed and false if user_id is not a number.
2274
+ */
2275
+ function delete_usermeta( $user_id, $meta_key, $meta_value = '' ) {
2276
+ _deprecated_function( __FUNCTION__, '3.0', 'delete_user_meta()' );
2277
+ global $wpdb;
2278
+ if ( !is_numeric( $user_id ) )
2279
+ return false;
2280
+ $meta_key = preg_replace('|[^a-z0-9_]|i', '', $meta_key);
2281
+
2282
+ if ( is_array($meta_value) || is_object($meta_value) )
2283
+ $meta_value = serialize($meta_value);
2284
+ $meta_value = trim( $meta_value );
2285
+
2286
+ $cur = $wpdb->get_row( $wpdb->prepare("SELECT * FROM $wpdb->usermeta WHERE user_id = %d AND meta_key = %s", $user_id, $meta_key) );
2287
+
2288
+ if ( $cur && $cur->umeta_id )
2289
+ do_action( 'delete_usermeta', $cur->umeta_id, $user_id, $meta_key, $meta_value );
2290
+
2291
+ if ( ! empty($meta_value) )
2292
+ $wpdb->query( $wpdb->prepare("DELETE FROM $wpdb->usermeta WHERE user_id = %d AND meta_key = %s AND meta_value = %s", $user_id, $meta_key, $meta_value) );
2293
+ else
2294
+ $wpdb->query( $wpdb->prepare("DELETE FROM $wpdb->usermeta WHERE user_id = %d AND meta_key = %s", $user_id, $meta_key) );
2295
+
2296
+ clean_user_cache( $user_id );
2297
+ wp_cache_delete( $user_id, 'user_meta' );
2298
+
2299
+ if ( $cur && $cur->umeta_id )
2300
+ do_action( 'deleted_usermeta', $cur->umeta_id, $user_id, $meta_key, $meta_value );
2301
+
2302
+ return true;
2303
+ }
2304
+
2305
+ /**
2306
+ * Retrieve user metadata.
2307
+ *
2308
+ * If $user_id is not a number, then the function will fail over with a 'false'
2309
+ * boolean return value. Other returned values depend on whether there is only
2310
+ * one item to be returned, which be that single item type. If there is more
2311
+ * than one metadata value, then it will be list of metadata values.
2312
+ *
2313
+ * @since 2.0.0
2314
+ * @deprecated 3.0.0
2315
+ * @deprecated Use get_user_meta()
2316
+ * @see get_user_meta()
2317
+ *
2318
+ * @param int $user_id User ID
2319
+ * @param string $meta_key Optional. Metadata key.
2320
+ * @return mixed
2321
+ */
2322
+ function get_usermeta( $user_id, $meta_key = '' ) {
2323
+ _deprecated_function( __FUNCTION__, '3.0', 'get_user_meta()' );
2324
+ global $wpdb;
2325
+ $user_id = (int) $user_id;
2326
+
2327
+ if ( !$user_id )
2328
+ return false;
2329
+
2330
+ if ( !empty($meta_key) ) {
2331
+ $meta_key = preg_replace('|[^a-z0-9_]|i', '', $meta_key);
2332
+ $user = wp_cache_get($user_id, 'users');
2333
+ // Check the cached user object
2334
+ if ( false !== $user && isset($user->$meta_key) )
2335
+ $metas = array($user->$meta_key);
2336
+ else
2337
+ $metas = $wpdb->get_col( $wpdb->prepare("SELECT meta_value FROM $wpdb->usermeta WHERE user_id = %d AND meta_key = %s", $user_id, $meta_key) );
2338
+ } else {
2339
+ $metas = $wpdb->get_col( $wpdb->prepare("SELECT meta_value FROM $wpdb->usermeta WHERE user_id = %d", $user_id) );
2340
+ }
2341
+
2342
+ if ( empty($metas) ) {
2343
+ if ( empty($meta_key) )
2344
+ return array();
2345
+ else
2346
+ return '';
2347
+ }
2348
+
2349
+ $metas = array_map('maybe_unserialize', $metas);
2350
+
2351
+ if ( count($metas) == 1 )
2352
+ return $metas[0];
2353
+ else
2354
+ return $metas;
2355
+ }
2356
+
2357
+ /**
2358
+ * Update metadata of user.
2359
+ *
2360
+ * There is no need to serialize values, they will be serialized if it is
2361
+ * needed. The metadata key can only be a string with underscores. All else will
2362
+ * be removed.
2363
+ *
2364
+ * Will remove the metadata, if the meta value is empty.
2365
+ *
2366
+ * @since 2.0.0
2367
+ * @deprecated 3.0.0
2368
+ * @deprecated Use update_user_meta()
2369
+ * @see update_user_meta()
2370
+ *
2371
+ * @param int $user_id User ID
2372
+ * @param string $meta_key Metadata key.
2373
+ * @param mixed $meta_value Metadata value.
2374
+ * @return bool True on successful update, false on failure.
2375
+ */
2376
+ function update_usermeta( $user_id, $meta_key, $meta_value ) {
2377
+ _deprecated_function( __FUNCTION__, '3.0', 'update_user_meta()' );
2378
+ global $wpdb;
2379
+ if ( !is_numeric( $user_id ) )
2380
+ return false;
2381
+ $meta_key = preg_replace('|[^a-z0-9_]|i', '', $meta_key);
2382
+
2383
+ /** @todo Might need fix because usermeta data is assumed to be already escaped */
2384
+ if ( is_string($meta_value) )
2385
+ $meta_value = stripslashes($meta_value);
2386
+ $meta_value = maybe_serialize($meta_value);
2387
+
2388
+ if (empty($meta_value)) {
2389
+ return delete_usermeta($user_id, $meta_key);
2390
+ }
2391
+
2392
+ $cur = $wpdb->get_row( $wpdb->prepare("SELECT * FROM $wpdb->usermeta WHERE user_id = %d AND meta_key = %s", $user_id, $meta_key) );
2393
+
2394
+ if ( $cur )
2395
+ do_action( 'update_usermeta', $cur->umeta_id, $user_id, $meta_key, $meta_value );
2396
+
2397
+ if ( !$cur )
2398
+ $wpdb->insert($wpdb->usermeta, compact('user_id', 'meta_key', 'meta_value') );
2399
+ elseif ( $cur->meta_value != $meta_value )
2400
+ $wpdb->update($wpdb->usermeta, compact('meta_value'), compact('user_id', 'meta_key') );
2401
+ else
2402
+ return false;
2403
+
2404
+ clean_user_cache( $user_id );
2405
+ wp_cache_delete( $user_id, 'user_meta' );
2406
+
2407
+ if ( !$cur )
2408
+ do_action( 'added_usermeta', $wpdb->insert_id, $user_id, $meta_key, $meta_value );
2409
+ else
2410
+ do_action( 'updated_usermeta', $cur->umeta_id, $user_id, $meta_key, $meta_value );
2411
+
2412
+ return true;
2413
+ }
2414
+
2415
+ /**
2416
+ * Get users for the blog.
2417
+ *
2418
+ * For setups that use the multi-blog feature. Can be used outside of the
2419
+ * multi-blog feature.
2420
+ *
2421
+ * @since 2.2.0
2422
+ * @deprecated 3.1.0
2423
+ *
2424
+ * @global wpdb $wpdb WordPress database abstraction object.
2425
+ * @uses $blog_id The Blog id of the blog for those that use more than one blog
2426
+ *
2427
+ * @param int $id Blog ID.
2428
+ * @return array List of users that are part of that Blog ID
2429
+ */
2430
+ function get_users_of_blog( $id = '' ) {
2431
+ _deprecated_function( __FUNCTION__, '3.1', 'get_users()' );
2432
+
2433
+ global $wpdb, $blog_id;
2434
+ if ( empty($id) )
2435
+ $id = (int) $blog_id;
2436
+ $blog_prefix = $wpdb->get_blog_prefix($id);
2437
+ $users = $wpdb->get_results( "SELECT user_id, user_id AS ID, user_login, display_name, user_email, meta_value FROM $wpdb->users, $wpdb->usermeta WHERE {$wpdb->users}.ID = {$wpdb->usermeta}.user_id AND meta_key = '{$blog_prefix}capabilities' ORDER BY {$wpdb->usermeta}.user_id" );
2438
+ return $users;
2439
+ }
2440
+
2441
+ /**
2442
+ * Enable/disable automatic general feed link outputting.
2443
+ *
2444
+ * @since 2.8.0
2445
+ * @deprecated 3.0.0
2446
+ * @deprecated Use add_theme_support( 'automatic-feed-links' )
2447
+ *
2448
+ * @param boolean $add Optional, default is true. Add or remove links. Defaults to true.
2449
+ */
2450
+ function automatic_feed_links( $add = true ) {
2451
+ _deprecated_function( __FUNCTION__, '3.0', "add_theme_support( 'automatic-feed-links' )" );
2452
+
2453
+ if ( $add )
2454
+ add_theme_support( 'automatic-feed-links' );
2455
+ else
2456
+ remove_action( 'wp_head', 'feed_links_extra', 3 ); // Just do this yourself in 3.0+
2457
+ }
2458
+
2459
+ /**
2460
+ * Retrieve user data based on field.
2461
+ *
2462
+ * @since 1.5.0
2463
+ * @deprecated 3.0.0
2464
+ * @deprecated Use get_the_author_meta()
2465
+ * @see get_the_author_meta()
2466
+ */
2467
+ function get_profile( $field, $user = false ) {
2468
+ _deprecated_function( __FUNCTION__, '3.0', 'get_the_author_meta()' );
2469
+ if ( $user ) {
2470
+ $user = get_user_by( 'login', $user );
2471
+ $user = $user->ID;
2472
+ }
2473
+ return get_the_author_meta( $field, $user );
2474
+ }
2475
+
2476
+ /**
2477
+ * Number of posts user has written.
2478
+ *
2479
+ * @since 0.71
2480
+ * @deprecated 3.0.0
2481
+ * @deprecated Use count_user_posts()
2482
+ * @see count_user_posts()
2483
+ */
2484
+ function get_usernumposts( $userid ) {
2485
+ _deprecated_function( __FUNCTION__, '3.0', 'count_user_posts()' );
2486
+ return count_user_posts( $userid );
2487
+ }
2488
+
2489
+ /**
2490
+ * Callback used to change %uXXXX to &#YYY; syntax
2491
+ *
2492
+ * @since 2.8.0
2493
+ * @access private
2494
+ * @deprecated 3.0.0
2495
+ *
2496
+ * @param array $matches Single Match
2497
+ * @return string An HTML entity
2498
+ */
2499
+ function funky_javascript_callback($matches) {
2500
+ return "&#".base_convert($matches[1],16,10).";";
2501
+ }
2502
+
2503
+ /**
2504
+ * Fixes JavaScript bugs in browsers.
2505
+ *
2506
+ * Converts unicode characters to HTML numbered entities.
2507
+ *
2508
+ * @since 1.5.0
2509
+ * @uses $is_macIE
2510
+ * @uses $is_winIE
2511
+ * @deprecated 3.0.0
2512
+ *
2513
+ * @param string $text Text to be made safe.
2514
+ * @return string Fixed text.
2515
+ */
2516
+ function funky_javascript_fix($text) {
2517
+ _deprecated_function( __FUNCTION__, '3.0' );
2518
+ // Fixes for browsers' JavaScript bugs.
2519
+ global $is_macIE, $is_winIE;
2520
+
2521
+ if ( $is_winIE || $is_macIE )
2522
+ $text = preg_replace_callback("/\%u([0-9A-F]{4,4})/",
2523
+ "funky_javascript_callback",
2524
+ $text);
2525
+
2526
+ return $text;
2527
+ }
2528
+
2529
+ /**
2530
+ * Checks that the taxonomy name exists.
2531
+ *
2532
+ * @since 2.3.0
2533
+ * @deprecated 3.0.0
2534
+ * @deprecated Use taxonomy_exists()
2535
+ * @see taxonomy_exists()
2536
+ *
2537
+ * @param string $taxonomy Name of taxonomy object
2538
+ * @return bool Whether the taxonomy exists.
2539
+ */
2540
+ function is_taxonomy( $taxonomy ) {
2541
+ _deprecated_function( __FUNCTION__, '3.0', 'taxonomy_exists()' );
2542
+ return taxonomy_exists( $taxonomy );
2543
+ }
2544
+
2545
+ /**
2546
+ * Check if Term exists.
2547
+ *
2548
+ * @since 2.3.0
2549
+ * @deprecated 3.0.0
2550
+ * @deprecated Use term_exists()
2551
+ * @see term_exists()
2552
+ *
2553
+ * @param int|string $term The term to check
2554
+ * @param string $taxonomy The taxonomy name to use
2555
+ * @param int $parent ID of parent term under which to confine the exists search.
2556
+ * @return mixed Get the term id or Term Object, if exists.
2557
+ */
2558
+ function is_term( $term, $taxonomy = '', $parent = 0 ) {
2559
+ _deprecated_function( __FUNCTION__, '3.0', 'term_exists()' );
2560
+ return term_exists( $term, $taxonomy, $parent );
2561
+ }
2562
+
2563
+ /**
2564
+ * Is the current admin page generated by a plugin?
2565
+ *
2566
+ * @since 1.5.0
2567
+ * @deprecated 3.1.0
2568
+ * @deprecated Use global $plugin_page and/or get_plugin_page_hookname() hooks.
2569
+ *
2570
+ * @global $plugin_page
2571
+ *
2572
+ * @return bool
2573
+ */
2574
+ function is_plugin_page() {
2575
+ _deprecated_function( __FUNCTION__, '3.1' );
2576
+
2577
+ global $plugin_page;
2578
+
2579
+ if ( isset($plugin_page) )
2580
+ return true;
2581
+
2582
+ return false;
2583
+ }
2584
+
2585
+ /**
2586
+ * Update the categories cache.
2587
+ *
2588
+ * This function does not appear to be used anymore or does not appear to be
2589
+ * needed. It might be a legacy function left over from when there was a need
2590
+ * for updating the category cache.
2591
+ *
2592
+ * @since 1.5.0
2593
+ * @deprecated 3.1.0
2594
+ *
2595
+ * @return bool Always return True
2596
+ */
2597
+ function update_category_cache() {
2598
+ _deprecated_function( __FUNCTION__, '3.1' );
2599
+
2600
+ return true;
2601
+ }
2602
+
2603
+ /**
2604
+ * Check for PHP timezone support
2605
+ *
2606
+ * @since 2.9.0
2607
+ * @deprecated 3.2.0
2608
+ *
2609
+ * @return bool
2610
+ */
2611
+ function wp_timezone_supported() {
2612
+ _deprecated_function( __FUNCTION__, '3.2' );
2613
+
2614
+ return true;
2615
+ }
2616
+
2617
+ /**
2618
+ * Display editor: TinyMCE, HTML, or both.
2619
+ *
2620
+ * @since 2.1.0
2621
+ * @deprecated 3.3.0
2622
+ * @deprecated Use wp_editor()
2623
+ * @see wp_editor()
2624
+ *
2625
+ * @param string $content Textarea content.
2626
+ * @param string $id Optional, default is 'content'. HTML ID attribute value.
2627
+ * @param string $prev_id Optional, not used
2628
+ * @param bool $media_buttons Optional, default is true. Whether to display media buttons.
2629
+ * @param int $tab_index Optional, not used
2630
+ */
2631
+ function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true, $tab_index = 2, $extended = true) {
2632
+ _deprecated_function( __FUNCTION__, '3.3', 'wp_editor()' );
2633
+
2634
+ wp_editor( $content, $id, array( 'media_buttons' => $media_buttons ) );
2635
+ }
2636
+
2637
+ /**
2638
+ * Perform the query to get the $metavalues array(s) needed by _fill_user and _fill_many_users
2639
+ *
2640
+ * @since 3.0.0
2641
+ * @deprecated 3.3.0
2642
+ *
2643
+ * @param array $ids User ID numbers list.
2644
+ * @return array of arrays. The array is indexed by user_id, containing $metavalues object arrays.
2645
+ */
2646
+ function get_user_metavalues($ids) {
2647
+ _deprecated_function( __FUNCTION__, '3.3' );
2648
+
2649
+ $objects = array();
2650
+
2651
+ $ids = array_map('intval', $ids);
2652
+ foreach ( $ids as $id )
2653
+ $objects[$id] = array();
2654
+
2655
+ $metas = update_meta_cache('user', $ids);
2656
+
2657
+ foreach ( $metas as $id => $meta ) {
2658
+ foreach ( $meta as $key => $metavalues ) {
2659
+ foreach ( $metavalues as $value ) {
2660
+ $objects[$id][] = (object)array( 'user_id' => $id, 'meta_key' => $key, 'meta_value' => $value);
2661
+ }
2662
+ }
2663
+ }
2664
+
2665
+ return $objects;
2666
+ }
2667
+
2668
+ /**
2669
+ * Sanitize every user field.
2670
+ *
2671
+ * If the context is 'raw', then the user object or array will get minimal santization of the int fields.
2672
+ *
2673
+ * @since 2.3.0
2674
+ * @deprecated 3.3.0
2675
+ *
2676
+ * @param object|array $user The User Object or Array
2677
+ * @param string $context Optional, default is 'display'. How to sanitize user fields.
2678
+ * @return object|array The now sanitized User Object or Array (will be the same type as $user)
2679
+ */
2680
+ function sanitize_user_object($user, $context = 'display') {
2681
+ _deprecated_function( __FUNCTION__, '3.3' );
2682
+
2683
+ if ( is_object($user) ) {
2684
+ if ( !isset($user->ID) )
2685
+ $user->ID = 0;
2686
+ if ( ! ( $user instanceof WP_User ) ) {
2687
+ $vars = get_object_vars($user);
2688
+ foreach ( array_keys($vars) as $field ) {
2689
+ if ( is_string($user->$field) || is_numeric($user->$field) )
2690
+ $user->$field = sanitize_user_field($field, $user->$field, $user->ID, $context);
2691
+ }
2692
+ }
2693
+ $user->filter = $context;
2694
+ } else {
2695
+ if ( !isset($user['ID']) )
2696
+ $user['ID'] = 0;
2697
+ foreach ( array_keys($user) as $field )
2698
+ $user[$field] = sanitize_user_field($field, $user[$field], $user['ID'], $context);
2699
+ $user['filter'] = $context;
2700
+ }
2701
+
2702
+ return $user;
2703
+ }
2704
+
2705
+ /**
2706
+ * Get boundary post relational link.
2707
+ *
2708
+ * Can either be start or end post relational link.
2709
+ *
2710
+ * @since 2.8.0
2711
+ * @deprecated 3.3.0
2712
+ *
2713
+ * @param string $title Optional. Link title format.
2714
+ * @param bool $in_same_cat Optional. Whether link should be in a same category.
2715
+ * @param string $excluded_categories Optional. Excluded categories IDs.
2716
+ * @param bool $start Optional, default is true. Whether to display link to first or last post.
2717
+ * @return string
2718
+ */
2719
+ function get_boundary_post_rel_link($title = '%title', $in_same_cat = false, $excluded_categories = '', $start = true) {
2720
+ _deprecated_function( __FUNCTION__, '3.3' );
2721
+
2722
+ $posts = get_boundary_post($in_same_cat, $excluded_categories, $start);
2723
+ // If there is no post stop.
2724
+ if ( empty($posts) )
2725
+ return;
2726
+
2727
+ // Even though we limited get_posts to return only 1 item it still returns an array of objects.
2728
+ $post = $posts[0];
2729
+
2730
+ if ( empty($post->post_title) )
2731
+ $post->post_title = $start ? __('First Post') : __('Last Post');
2732
+
2733
+ $date = mysql2date(get_option('date_format'), $post->post_date);
2734
+
2735
+ $title = str_replace('%title', $post->post_title, $title);
2736
+ $title = str_replace('%date', $date, $title);
2737
+ $title = apply_filters('the_title', $title, $post->ID);
2738
+
2739
+ $link = $start ? "<link rel='start' title='" : "<link rel='end' title='";
2740
+ $link .= esc_attr($title);
2741
+ $link .= "' href='" . get_permalink($post) . "' />\n";
2742
+
2743
+ $boundary = $start ? 'start' : 'end';
2744
+ return apply_filters( "{$boundary}_post_rel_link", $link );
2745
+ }
2746
+
2747
+ /**
2748
+ * Display relational link for the first post.
2749
+ *
2750
+ * @since 2.8.0
2751
+ * @deprecated 3.3.0
2752
+ *
2753
+ * @param string $title Optional. Link title format.
2754
+ * @param bool $in_same_cat Optional. Whether link should be in a same category.
2755
+ * @param string $excluded_categories Optional. Excluded categories IDs.
2756
+ */
2757
+ function start_post_rel_link($title = '%title', $in_same_cat = false, $excluded_categories = '') {
2758
+ _deprecated_function( __FUNCTION__, '3.3' );
2759
+
2760
+ echo get_boundary_post_rel_link($title, $in_same_cat, $excluded_categories, true);
2761
+ }
2762
+
2763
+ /**
2764
+ * Get site index relational link.
2765
+ *
2766
+ * @since 2.8.0
2767
+ * @deprecated 3.3.0
2768
+ *
2769
+ * @return string
2770
+ */
2771
+ function get_index_rel_link() {
2772
+ _deprecated_function( __FUNCTION__, '3.3' );
2773
+
2774
+ $link = "<link rel='index' title='" . esc_attr( get_bloginfo( 'name', 'display' ) ) . "' href='" . esc_url( user_trailingslashit( get_bloginfo( 'url', 'display' ) ) ) . "' />\n";
2775
+ return apply_filters( "index_rel_link", $link );
2776
+ }
2777
+
2778
+ /**
2779
+ * Display relational link for the site index.
2780
+ *
2781
+ * @since 2.8.0
2782
+ * @deprecated 3.3.0
2783
+ */
2784
+ function index_rel_link() {
2785
+ _deprecated_function( __FUNCTION__, '3.3' );
2786
+
2787
+ echo get_index_rel_link();
2788
+ }
2789
+
2790
+ /**
2791
+ * Get parent post relational link.
2792
+ *
2793
+ * @since 2.8.0
2794
+ * @deprecated 3.3.0
2795
+ *
2796
+ * @param string $title Optional. Link title format.
2797
+ * @return string
2798
+ */
2799
+ function get_parent_post_rel_link($title = '%title') {
2800
+ _deprecated_function( __FUNCTION__, '3.3' );
2801
+
2802
+ if ( ! empty( $GLOBALS['post'] ) && ! empty( $GLOBALS['post']->post_parent ) )
2803
+ $post = get_post($GLOBALS['post']->post_parent);
2804
+
2805
+ if ( empty($post) )
2806
+ return;
2807
+
2808
+ $date = mysql2date(get_option('date_format'), $post->post_date);
2809
+
2810
+ $title = str_replace('%title', $post->post_title, $title);
2811
+ $title = str_replace('%date', $date, $title);
2812
+ $title = apply_filters('the_title', $title, $post->ID);
2813
+
2814
+ $link = "<link rel='up' title='";
2815
+ $link .= esc_attr( $title );
2816
+ $link .= "' href='" . get_permalink($post) . "' />\n";
2817
+
2818
+ return apply_filters( "parent_post_rel_link", $link );
2819
+ }
2820
+
2821
+ /**
2822
+ * Display relational link for parent item
2823
+ *
2824
+ * @since 2.8.0
2825
+ * @deprecated 3.3.0
2826
+ */
2827
+ function parent_post_rel_link($title = '%title') {
2828
+ _deprecated_function( __FUNCTION__, '3.3' );
2829
+
2830
+ echo get_parent_post_rel_link($title);
2831
+ }
2832
+
2833
+ /**
2834
+ * Add the "Dashboard"/"Visit Site" menu.
2835
+ *
2836
+ * @since 3.2.0
2837
+ * @deprecated 3.3.0
2838
+ */
2839
+ function wp_admin_bar_dashboard_view_site_menu( $wp_admin_bar ) {
2840
+ _deprecated_function( __FUNCTION__, '3.3' );
2841
+
2842
+ $user_id = get_current_user_id();
2843
+
2844
+ if ( 0 != $user_id ) {
2845
+ if ( is_admin() )
2846
+ $wp_admin_bar->add_menu( array( 'id' => 'view-site', 'title' => __( 'Visit Site' ), 'href' => home_url() ) );
2847
+ elseif ( is_multisite() )
2848
+ $wp_admin_bar->add_menu( array( 'id' => 'dashboard', 'title' => __( 'Dashboard' ), 'href' => get_dashboard_url( $user_id ) ) );
2849
+ else
2850
+ $wp_admin_bar->add_menu( array( 'id' => 'dashboard', 'title' => __( 'Dashboard' ), 'href' => admin_url() ) );
2851
+ }
2852
+ }
2853
+
2854
+ /**
2855
+ * Checks if the current user belong to a given blog.
2856
+ *
2857
+ * @since MU
2858
+ * @deprecated 3.3.0
2859
+ * @deprecated Use is_user_member_of_blog()
2860
+ * @see is_user_member_of_blog()
2861
+ *
2862
+ * @param int $blog_id Blog ID
2863
+ * @return bool True if the current users belong to $blog_id, false if not.
2864
+ */
2865
+ function is_blog_user( $blog_id = 0 ) {
2866
+ _deprecated_function( __FUNCTION__, '3.3', 'is_user_member_of_blog()' );
2867
+
2868
+ return is_user_member_of_blog( get_current_user_id(), $blog_id );
2869
+ }
2870
+
2871
+ /**
2872
+ * Open the file handle for debugging.
2873
+ *
2874
+ * @since 0.71
2875
+ * @deprecated Use error_log()
2876
+ * @link http://www.php.net/manual/en/function.error-log.php
2877
+ * @deprecated 3.4.0
2878
+ */
2879
+ function debug_fopen( $filename, $mode ) {
2880
+ _deprecated_function( __FUNCTION__, 'error_log()' );
2881
+ return false;
2882
+ }
2883
+
2884
+ /**
2885
+ * Write contents to the file used for debugging.
2886
+ *
2887
+ * @since 0.71
2888
+ * @deprecated Use error_log() instead.
2889
+ * @link http://www.php.net/manual/en/function.error-log.php
2890
+ * @deprecated 3.4.0
2891
+ */
2892
+ function debug_fwrite( $fp, $string ) {
2893
+ _deprecated_function( __FUNCTION__, 'error_log()' );
2894
+ if ( ! empty( $GLOBALS['debug'] ) )
2895
+ error_log( $string );
2896
+ }
2897
+
2898
+ /**
2899
+ * Close the debugging file handle.
2900
+ *
2901
+ * @since 0.71
2902
+ * @deprecated Use error_log()
2903
+ * @link http://www.php.net/manual/en/function.error-log.php
2904
+ * @deprecated 3.4.0
2905
+ */
2906
+ function debug_fclose( $fp ) {
2907
+ _deprecated_function( __FUNCTION__, 'error_log()' );
2908
+ }
2909
+
2910
+ /**
2911
+ * Retrieve list of themes with theme data in theme directory.
2912
+ *
2913
+ * The theme is broken, if it doesn't have a parent theme and is missing either
2914
+ * style.css and, or index.php. If the theme has a parent theme then it is
2915
+ * broken, if it is missing style.css; index.php is optional.
2916
+ *
2917
+ * @since 1.5.0
2918
+ * @deprecated 3.4.0
2919
+ * @deprecated Use wp_get_themes()
2920
+ * @see wp_get_themes()
2921
+ *
2922
+ * @return array Theme list with theme data.
2923
+ */
2924
+ function get_themes() {
2925
+ _deprecated_function( __FUNCTION__, '3.4', 'wp_get_themes()' );
2926
+
2927
+ global $wp_themes;
2928
+ if ( isset( $wp_themes ) )
2929
+ return $wp_themes;
2930
+
2931
+ $themes = wp_get_themes();
2932
+ $wp_themes = array();
2933
+
2934
+ foreach ( $themes as $theme ) {
2935
+ $name = $theme->get('Name');
2936
+ if ( isset( $wp_themes[ $name ] ) )
2937
+ $wp_themes[ $name . '/' . $theme->get_stylesheet() ] = $theme;
2938
+ else
2939
+ $wp_themes[ $name ] = $theme;
2940
+ }
2941
+
2942
+ return $wp_themes;
2943
+ }
2944
+
2945
+ /**
2946
+ * Retrieve theme data.
2947
+ *
2948
+ * @since 1.5.0
2949
+ * @deprecated 3.4.0
2950
+ * @deprecated Use wp_get_theme()
2951
+ * @see wp_get_theme()
2952
+ *
2953
+ * @param string $theme Theme name.
2954
+ * @return array|null Null, if theme name does not exist. Theme data, if exists.
2955
+ */
2956
+ function get_theme( $theme ) {
2957
+ _deprecated_function( __FUNCTION__, '3.4', 'wp_get_theme( $stylesheet )' );
2958
+
2959
+ $themes = get_themes();
2960
+ if ( is_array( $themes ) && array_key_exists( $theme, $themes ) )
2961
+ return $themes[ $theme ];
2962
+ return null;
2963
+ }
2964
+
2965
+ /**
2966
+ * Retrieve current theme name.
2967
+ *
2968
+ * @since 1.5.0
2969
+ * @deprecated 3.4.0
2970
+ * @deprecated Use (string) wp_get_theme()
2971
+ * @see wp_get_theme()
2972
+ *
2973
+ * @return string
2974
+ */
2975
+ function get_current_theme() {
2976
+ _deprecated_function( __FUNCTION__, '3.4', 'wp_get_theme()' );
2977
+
2978
+ if ( $theme = get_option( 'current_theme' ) )
2979
+ return $theme;
2980
+
2981
+ return wp_get_theme()->get('Name');
2982
+ }
2983
+
2984
+ /**
2985
+ * Accepts matches array from preg_replace_callback in wpautop() or a string.
2986
+ *
2987
+ * Ensures that the contents of a `<pre>...</pre>` HTML block are not
2988
+ * converted into paragraphs or line-breaks.
2989
+ *
2990
+ * @since 1.2.0
2991
+ * @deprecated 3.4.0
2992
+ *
2993
+ * @param array|string $matches The array or string
2994
+ * @return string The pre block without paragraph/line-break conversion.
2995
+ */
2996
+ function clean_pre($matches) {
2997
+ _deprecated_function( __FUNCTION__, '3.4' );
2998
+
2999
+ if ( is_array($matches) )
3000
+ $text = $matches[1] . $matches[2] . "</pre>";
3001
+ else
3002
+ $text = $matches;
3003
+
3004
+ $text = str_replace(array('<br />', '<br/>', '<br>'), array('', '', ''), $text);
3005
+ $text = str_replace('<p>', "\n", $text);
3006
+ $text = str_replace('</p>', '', $text);
3007
+
3008
+ return $text;
3009
+ }
3010
+
3011
+
3012
+ /**
3013
+ * Add callbacks for image header display.
3014
+ *
3015
+ * @since 2.1.0
3016
+ * @deprecated 3.4.0
3017
+ * @deprecated Use add_theme_support('custom-header', $args)
3018
+ * @see add_theme_support()
3019
+ *
3020
+ * @param callback $wp_head_callback Call on 'wp_head' action.
3021
+ * @param callback $admin_head_callback Call on custom header administration screen.
3022
+ * @param callback $admin_preview_callback Output a custom header image div on the custom header administration screen. Optional.
3023
+ */
3024
+ function add_custom_image_header( $wp_head_callback, $admin_head_callback, $admin_preview_callback = '' ) {
3025
+ _deprecated_function( __FUNCTION__, '3.4', 'add_theme_support( \'custom-header\', $args )' );
3026
+ $args = array(
3027
+ 'wp-head-callback' => $wp_head_callback,
3028
+ 'admin-head-callback' => $admin_head_callback,
3029
+ );
3030
+ if ( $admin_preview_callback )
3031
+ $args['admin-preview-callback'] = $admin_preview_callback;
3032
+ return add_theme_support( 'custom-header', $args );
3033
+ }
3034
+
3035
+ /**
3036
+ * Remove image header support.
3037
+ *
3038
+ * @since 3.1.0
3039
+ * @deprecated 3.4.0
3040
+ * @deprecated Use remove_theme_support('custom-header')
3041
+ * @see remove_theme_support()
3042
+ *
3043
+ * @return null|bool Whether support was removed.
3044
+ */
3045
+ function remove_custom_image_header() {
3046
+ _deprecated_function( __FUNCTION__, '3.4', 'remove_theme_support( \'custom-header\' )' );
3047
+ return remove_theme_support( 'custom-header' );
3048
+ }
3049
+
3050
+ /**
3051
+ * Add callbacks for background image display.
3052
+ *
3053
+ * @since 3.0.0
3054
+ * @deprecated 3.4.0
3055
+ * @deprecated Use add_theme_support('custom-background, $args)
3056
+ * @see add_theme_support()
3057
+ *
3058
+ * @param callback $wp_head_callback Call on 'wp_head' action.
3059
+ * @param callback $admin_head_callback Call on custom background administration screen.
3060
+ * @param callback $admin_preview_callback Output a custom background image div on the custom background administration screen. Optional.
3061
+ */
3062
+ function add_custom_background( $wp_head_callback = '', $admin_head_callback = '', $admin_preview_callback = '' ) {
3063
+ _deprecated_function( __FUNCTION__, '3.4', 'add_theme_support( \'custom-background\', $args )' );
3064
+ $args = array();
3065
+ if ( $wp_head_callback )
3066
+ $args['wp-head-callback'] = $wp_head_callback;
3067
+ if ( $admin_head_callback )
3068
+ $args['admin-head-callback'] = $admin_head_callback;
3069
+ if ( $admin_preview_callback )
3070
+ $args['admin-preview-callback'] = $admin_preview_callback;
3071
+ return add_theme_support( 'custom-background', $args );
3072
+ }
3073
+
3074
+ /**
3075
+ * Remove custom background support.
3076
+ *
3077
+ * @since 3.1.0
3078
+ * @see add_custom_background()
3079
+ *
3080
+ * @return null|bool Whether support was removed.
3081
+ */
3082
+ function remove_custom_background() {
3083
+ _deprecated_function( __FUNCTION__, '3.4', 'remove_theme_support( \'custom-background\' )' );
3084
+ return remove_theme_support( 'custom-background' );
3085
+ }
3086
+
3087
+ /**
3088
+ * Retrieve theme data from parsed theme file.
3089
+ *
3090
+ * @since 1.5.0
3091
+ * @deprecated 3.4.0
3092
+ * @deprecated Use wp_get_theme()
3093
+ * @see wp_get_theme()
3094
+ *
3095
+ * @param string $theme_file Theme file path.
3096
+ * @return array Theme data.
3097
+ */
3098
+ function get_theme_data( $theme_file ) {
3099
+ _deprecated_function( __FUNCTION__, '3.4', 'wp_get_theme()' );
3100
+ $theme = new WP_Theme( basename( dirname( $theme_file ) ), dirname( dirname( $theme_file ) ) );
3101
+
3102
+ $theme_data = array(
3103
+ 'Name' => $theme->get('Name'),
3104
+ 'URI' => $theme->display('ThemeURI', true, false),
3105
+ 'Description' => $theme->display('Description', true, false),
3106
+ 'Author' => $theme->display('Author', true, false),
3107
+ 'AuthorURI' => $theme->display('AuthorURI', true, false),
3108
+ 'Version' => $theme->get('Version'),
3109
+ 'Template' => $theme->get('Template'),
3110
+ 'Status' => $theme->get('Status'),
3111
+ 'Tags' => $theme->get('Tags'),
3112
+ 'Title' => $theme->get('Name'),
3113
+ 'AuthorName' => $theme->get('Author'),
3114
+ );
3115
+
3116
+ foreach ( apply_filters( 'extra_theme_headers', array() ) as $extra_header ) {
3117
+ if ( ! isset( $theme_data[ $extra_header ] ) )
3118
+ $theme_data[ $extra_header ] = $theme->get( $extra_header );
3119
+ }
3120
+
3121
+ return $theme_data;
3122
+ }
3123
+
3124
+ /**
3125
+ * Alias of update_post_cache().
3126
+ *
3127
+ * @see update_post_cache() Posts and pages are the same, alias is intentional
3128
+ *
3129
+ * @since 1.5.1
3130
+ * @deprecated 3.4.0
3131
+ *
3132
+ * @param array $pages list of page objects
3133
+ */
3134
+ function update_page_cache( &$pages ) {
3135
+ _deprecated_function( __FUNCTION__, '3.4', 'update_post_cache()' );
3136
+
3137
+ update_post_cache( $pages );
3138
+ }
3139
+
3140
+ /**
3141
+ * Will clean the page in the cache.
3142
+ *
3143
+ * Clean (read: delete) page from cache that matches $id. Will also clean cache
3144
+ * associated with 'all_page_ids' and 'get_pages'.
3145
+ *
3146
+ * @since 2.0.0
3147
+ * @deprecated 3.4.0
3148
+ *
3149
+ * @param int $id Page ID to clean
3150
+ */
3151
+ function clean_page_cache( $id ) {
3152
+ _deprecated_function( __FUNCTION__, '3.4', 'clean_post_cache()' );
3153
+
3154
+ clean_post_cache( $id );
3155
+ }
3156
+
3157
+ /**
3158
+ * Retrieve nonce action "Are you sure" message.
3159
+ *
3160
+ * Deprecated in 3.4.1 and 3.5.0. Backported to 3.3.3.
3161
+ *
3162
+ * @since 2.0.4
3163
+ * @deprecated 3.4.1
3164
+ * @deprecated Use wp_nonce_ays()
3165
+ * @see wp_nonce_ays()
3166
+ *
3167
+ * @param string $action Nonce action.
3168
+ * @return string Are you sure message.
3169
+ */
3170
+ function wp_explain_nonce( $action ) {
3171
+ _deprecated_function( __FUNCTION__, '3.4.1', 'wp_nonce_ays()' );
3172
+ return __( 'Are you sure you want to do this?' );
3173
+ }
3174
+
3175
+ /**
3176
+ * Display "sticky" CSS class, if a post is sticky.
3177
+ *
3178
+ * @since 2.7.0
3179
+ * @deprecated 3.5.0
3180
+ * @deprecated Use post_class()
3181
+ * @see post_class()
3182
+ *
3183
+ * @param int $post_id An optional post ID.
3184
+ */
3185
+ function sticky_class( $post_id = null ) {
3186
+ _deprecated_function( __FUNCTION__, '3.5', 'post_class()' );
3187
+ if ( is_sticky( $post_id ) )
3188
+ echo ' sticky';
3189
+ }
3190
+
3191
+ /**
3192
+ * Retrieve post ancestors.
3193
+ *
3194
+ * This is no longer needed as WP_Post lazy-loads the ancestors
3195
+ * property with get_post_ancestors().
3196
+ *
3197
+ * @since 2.3.4
3198
+ * @deprecated 3.5.0
3199
+ * @see get_post_ancestors()
3200
+ */
3201
+ function _get_post_ancestors( &$post ) {
3202
+ _deprecated_function( __FUNCTION__, '3.5' );
3203
+ }
3204
+
3205
+ /**
3206
+ * Load an image from a string, if PHP supports it.
3207
+ *
3208
+ * @since 2.1.0
3209
+ * @deprecated 3.5.0
3210
+ * @see wp_get_image_editor()
3211
+ *
3212
+ * @param string $file Filename of the image to load.
3213
+ * @return resource The resulting image resource on success, Error string on failure.
3214
+ */
3215
+ function wp_load_image( $file ) {
3216
+ _deprecated_function( __FUNCTION__, '3.5', 'wp_get_image_editor()' );
3217
+
3218
+ if ( is_numeric( $file ) )
3219
+ $file = get_attached_file( $file );
3220
+
3221
+ if ( ! is_file( $file ) )
3222
+ return sprintf(__('File &#8220;%s&#8221; doesn&#8217;t exist?'), $file);
3223
+
3224
+ if ( ! function_exists('imagecreatefromstring') )
3225
+ return __('The GD image library is not installed.');
3226
+
3227
+ // Set artificially high because GD uses uncompressed images in memory
3228
+ @ini_set( 'memory_limit', apply_filters( 'image_memory_limit', WP_MAX_MEMORY_LIMIT ) );
3229
+ $image = imagecreatefromstring( file_get_contents( $file ) );
3230
+
3231
+ if ( !is_resource( $image ) )
3232
+ return sprintf(__('File &#8220;%s&#8221; is not an image.'), $file);
3233
+
3234
+ return $image;
3235
+ }
3236
+
3237
+ /**
3238
+ * Scale down an image to fit a particular size and save a new copy of the image.
3239
+ *
3240
+ * The PNG transparency will be preserved using the function, as well as the
3241
+ * image type. If the file going in is PNG, then the resized image is going to
3242
+ * be PNG. The only supported image types are PNG, GIF, and JPEG.
3243
+ *
3244
+ * Some functionality requires API to exist, so some PHP version may lose out
3245
+ * support. This is not the fault of WordPress (where functionality is
3246
+ * downgraded, not actual defects), but of your PHP version.
3247
+ *
3248
+ * @since 2.5.0
3249
+ * @deprecated 3.5.0
3250
+ * @see wp_get_image_editor()
3251
+ *
3252
+ * @param string $file Image file path.
3253
+ * @param int $max_w Maximum width to resize to.
3254
+ * @param int $max_h Maximum height to resize to.
3255
+ * @param bool $crop Optional. Whether to crop image or resize.
3256
+ * @param string $suffix Optional. File suffix.
3257
+ * @param string $dest_path Optional. New image file path.
3258
+ * @param int $jpeg_quality Optional, default is 90. Image quality percentage.
3259
+ * @return mixed WP_Error on failure. String with new destination path.
3260
+ */
3261
+ function image_resize( $file, $max_w, $max_h, $crop = false, $suffix = null, $dest_path = null, $jpeg_quality = 90 ) {
3262
+ _deprecated_function( __FUNCTION__, '3.5', 'wp_get_image_editor()' );
3263
+
3264
+ $editor = wp_get_image_editor( $file );
3265
+ if ( is_wp_error( $editor ) )
3266
+ return $editor;
3267
+ $editor->set_quality( $jpeg_quality );
3268
+
3269
+ $resized = $editor->resize( $max_w, $max_h, $crop );
3270
+ if ( is_wp_error( $resized ) )
3271
+ return $resized;
3272
+
3273
+ $dest_file = $editor->generate_filename( $suffix, $dest_path );
3274
+ $saved = $editor->save( $dest_file );
3275
+
3276
+ if ( is_wp_error( $saved ) )
3277
+ return $saved;
3278
+
3279
+ return $dest_file;
3280
+ }
3281
+
3282
+ /**
3283
+ * Retrieve a single post, based on post ID.
3284
+ *
3285
+ * Has categories in 'post_category' property or key. Has tags in 'tags_input'
3286
+ * property or key.
3287
+ *
3288
+ * @since 1.0.0
3289
+ * @deprecated 3.5.0
3290
+ * @see get_post()
3291
+ *
3292
+ * @param int $postid Post ID.
3293
+ * @param string $mode How to return result, either OBJECT, ARRAY_N, or ARRAY_A.
3294
+ * @return WP_Post|null Post object or array holding post contents and information
3295
+ */
3296
+ function wp_get_single_post( $postid = 0, $mode = OBJECT ) {
3297
+ _deprecated_function( __FUNCTION__, '3.5', 'get_post()' );
3298
+ return get_post( $postid, $mode );
3299
+ }
3300
+
3301
+ /**
3302
+ * Check that the user login name and password is correct.
3303
+ *
3304
+ * @since 0.71
3305
+ * @deprecated 3.5.0
3306
+ * @deprecated Use wp_authenticate()
3307
+ * @see wp_authenticate()
3308
+ *
3309
+ * @param string $user_login User name.
3310
+ * @param string $user_pass User password.
3311
+ * @return bool False if does not authenticate, true if username and password authenticates.
3312
+ */
3313
+ function user_pass_ok($user_login, $user_pass) {
3314
+ _deprecated_function( __FUNCTION__, '3.5', 'wp_authenticate()' );
3315
+ $user = wp_authenticate( $user_login, $user_pass );
3316
+ if ( is_wp_error( $user ) )
3317
+ return false;
3318
+
3319
+ return true;
3320
+ }
3321
+
3322
+ /**
3323
+ * Callback formerly fired on the save_post hook. No longer needed.
3324
+ *
3325
+ * @since 2.3.0
3326
+ * @deprecated 3.5.0
3327
+ */
3328
+ function _save_post_hook() {}
3329
+
3330
+ /**
3331
+ * Check if the installed version of GD supports particular image type
3332
+ *
3333
+ * @since 2.9.0
3334
+ * @deprecated 3.5.0
3335
+ * @see wp_image_editor_supports()
3336
+ *
3337
+ * @param string $mime_type
3338
+ * @return bool
3339
+ */
3340
+ function gd_edit_image_support($mime_type) {
3341
+ _deprecated_function( __FUNCTION__, '3.5', 'wp_image_editor_supports()' );
3342
+
3343
+ if ( function_exists('imagetypes') ) {
3344
+ switch( $mime_type ) {
3345
+ case 'image/jpeg':
3346
+ return (imagetypes() & IMG_JPG) != 0;
3347
+ case 'image/png':
3348
+ return (imagetypes() & IMG_PNG) != 0;
3349
+ case 'image/gif':
3350
+ return (imagetypes() & IMG_GIF) != 0;
3351
+ }
3352
+ } else {
3353
+ switch( $mime_type ) {
3354
+ case 'image/jpeg':
3355
+ return function_exists('imagecreatefromjpeg');
3356
+ case 'image/png':
3357
+ return function_exists('imagecreatefrompng');
3358
+ case 'image/gif':
3359
+ return function_exists('imagecreatefromgif');
3360
+ }
3361
+ }
3362
+ return false;
3363
+ }
3364
+
3365
+ /**
3366
+ * Converts an integer byte value to a shorthand byte value.
3367
+ *
3368
+ * @since 2.3.0
3369
+ * @deprecated 3.6.0
3370
+ * @deprecated Use size_format()
3371
+ *
3372
+ * @param int $bytes An integer byte value.
3373
+ * @return string A shorthand byte value.
3374
+ */
3375
+ function wp_convert_bytes_to_hr( $bytes ) {
3376
+ _deprecated_function( __FUNCTION__, '3.6', 'size_format()' );
3377
+
3378
+ $units = array( 0 => 'B', 1 => 'kB', 2 => 'MB', 3 => 'GB', 4 => 'TB' );
3379
+ $log = log( $bytes, 1024 );
3380
+ $power = (int) $log;
3381
+ $size = pow( 1024, $log - $power );
3382
+
3383
+ if ( ! is_nan( $size ) && array_key_exists( $power, $units ) ) {
3384
+ $unit = $units[ $power ];
3385
+ } else {
3386
+ $size = $bytes;
3387
+ $unit = $units[0];
3388
+ }
3389
+
3390
+ return $size . $unit;
3391
+ }
3392
+
3393
+ /**
3394
+ * Formerly used internally to tidy up the search terms.
3395
+ *
3396
+ * @access private
3397
+ * @since 2.9.0
3398
+ * @deprecated 3.7.0
3399
+ */
3400
+ function _search_terms_tidy( $t ) {
3401
+ _deprecated_function( __FUNCTION__, '3.7' );
3402
+ return trim( $t, "\"'\n\r " );
3403
+ }
3404
+
3405
+ /**
3406
+ * Determine if TinyMCE is available.
3407
+ *
3408
+ * Checks to see if the user has deleted the tinymce files to slim down
3409
+ * their WordPress install.
3410
+ *
3411
+ * @since 2.1.0
3412
+ * @deprecated 3.9.0
3413
+ *
3414
+ * @return bool Whether TinyMCE exists.
3415
+ */
3416
+ function rich_edit_exists() {
3417
+ global $wp_rich_edit_exists;
3418
+ _deprecated_function( __FUNCTION__, '3.9' );
3419
+
3420
+ if ( ! isset( $wp_rich_edit_exists ) )
3421
+ $wp_rich_edit_exists = file_exists( ABSPATH . WPINC . '/js/tinymce/tinymce.js' );
3422
+
3423
+ return $wp_rich_edit_exists;
3424
+ }
3425
+
3426
+ /**
3427
+ * Old callback for tag link tooltips.
3428
+ *
3429
+ * @since 2.7.0
3430
+ * @deprecated 3.9.0
3431
+ * @access private
3432
+ */
3433
+ function default_topic_count_text( $count ) {
3434
+ return $count;
3435
+ }
3436
+
3437
+ /**
3438
+ * Formerly used to escape strings before inserting into the DB.
3439
+ *
3440
+ * Has not performed this function for many, many years. Use wpdb::prepare() instead.
3441
+ *
3442
+ * @since 0.71
3443
+ * @deprecated 3.9.0
3444
+ *
3445
+ * @param string $content The text to format.
3446
+ * @return string The very same text.
3447
+ */
3448
+ function format_to_post( $content ) {
3449
+ _deprecated_function( __FUNCTION__, '3.9' );
3450
+ return $content;
3451
+ }
3452
+
3453
+ /**
3454
+ * Formerly used to escape strings before searching the DB. It was poorly documented and never worked as described.
3455
+ *
3456
+ * @since 2.5.0
3457
+ * @deprecated 4.0.0
3458
+ * @deprecated Use wpdb::esc_like()
3459
+ *
3460
+ * @param string $text The text to be escaped.
3461
+ * @return string text, safe for inclusion in LIKE query.
3462
+ */
3463
+ function like_escape($text) {
3464
+ _deprecated_function( __FUNCTION__, '4.0', 'wpdb::esc_like()' );
3465
+ return str_replace( array( "%", "_" ), array( "\\%", "\\_" ), $text );
3466
+ }
3467
+
3468
+ /**
3469
+ * Determines if the URL can be accessed over SSL.
3470
+ *
3471
+ * Determines if the URL can be accessed over SSL by using the WordPress HTTP API to access
3472
+ * the URL using https as the scheme.
3473
+ *
3474
+ * @since 2.5.0
3475
+ * @deprecated 4.0.0
3476
+ *
3477
+ * @param string $url The URL to test.
3478
+ * @return bool Whether SSL access is available.
3479
+ */
3480
+ function url_is_accessable_via_ssl( $url ) {
3481
+ _deprecated_function( __FUNCTION__, '4.0' );
3482
+
3483
+ $response = wp_remote_get( set_url_scheme( $url, 'https' ) );
3484
+
3485
+ if ( !is_wp_error( $response ) ) {
3486
+ $status = wp_remote_retrieve_response_code( $response );
3487
+ if ( 200 == $status || 401 == $status ) {
3488
+ return true;
3489
+ }
3490
+ }
3491
+
3492
+ return false;
3493
+ }