Advertisement
Guest User

Log Return Custom Field Key Data After Each Save

a guest
Feb 21st, 2012
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.38 KB | None | 0 0
  1. [02/22/2012 3:46 AM] - SUCCESS :$value is an array, so removing all previous data...
  2. [02/22/2012 3:46 AM] - SUCCESS :
  3. Array
  4. (
  5. [0] => Download Resource 1
  6. [1] => http://site.com/download.pdf
  7. [2] => PDF
  8. [3] => Download Resource 2
  9. [4] => http://site.com/download2.pdf
  10. [5] => PDF
  11. [6] => Download Resource 3
  12. [7] => http://site.com/download.mp4
  13. [8] => Video
  14. )
  15. [02/22/2012 3:46 AM] - SUCCESS :Removed all custom field data from post id: 101 for the key wsm-content-downloads
  16. [02/22/2012 3:46 AM] - SUCCESS :Beginning foreach loop to save data for $value as $entry...
  17. [02/22/2012 3:46 AM] - SUCCESS :Successfully updated custom field data for post id: 101 for the key wsm-content-downloads with the $value as $entry Download Resource 1
  18. [02/22/2012 3:46 AM] - SUCCESS :
  19. Array
  20. (
  21. [0] => Download Resource 1
  22. )
  23. [02/22/2012 3:46 AM] - SUCCESS :Returning to the beginning of data save loop or ending...
  24.  
  25. ------------------------------------------------------------------
  26.  
  27. [02/22/2012 3:46 AM] - SUCCESS :Beginning foreach loop to save data for $value as $entry...
  28. [02/22/2012 3:46 AM] - SUCCESS :Successfully updated custom field data for post id: 101 for the key wsm-content-downloads with the $value as $entry http://site.com/download.pdf
  29. [02/22/2012 3:46 AM] - SUCCESS :
  30. Array
  31. (
  32. [0] => http://site.com/download.pdf
  33. [1] => Download Resource 1
  34. )
  35. [02/22/2012 3:46 AM] - SUCCESS :Returning to the beginning of data save loop or ending...
  36.  
  37. ------------------------------------------------------------------
  38.  
  39. [02/22/2012 3:46 AM] - SUCCESS :Beginning foreach loop to save data for $value as $entry...
  40. [02/22/2012 3:46 AM] - SUCCESS :Successfully updated custom field data for post id: 101 for the key wsm-content-downloads with the $value as $entry PDF
  41. [02/22/2012 3:46 AM] - SUCCESS :
  42. Array
  43. (
  44. [0] => PDF
  45. [1] => http://site.com/download.pdf
  46. [2] => Download Resource 1
  47. )
  48. [02/22/2012 3:46 AM] - SUCCESS :Returning to the beginning of data save loop or ending...
  49.  
  50. ------------------------------------------------------------------
  51.  
  52. [02/22/2012 3:46 AM] - SUCCESS :Beginning foreach loop to save data for $value as $entry...
  53. [02/22/2012 3:46 AM] - SUCCESS :Successfully updated custom field data for post id: 101 for the key wsm-content-downloads with the $value as $entry Download Resource 2
  54. [02/22/2012 3:46 AM] - SUCCESS :
  55. Array
  56. (
  57. [0] => Download Resource 2
  58. [1] => PDF
  59. [2] => http://site.com/download.pdf
  60. [3] => Download Resource 1
  61. )
  62. [02/22/2012 3:46 AM] - SUCCESS :Returning to the beginning of data save loop or ending...
  63.  
  64. ------------------------------------------------------------------
  65.  
  66. [02/22/2012 3:46 AM] - SUCCESS :Beginning foreach loop to save data for $value as $entry...
  67. [02/22/2012 3:46 AM] - SUCCESS :Successfully updated custom field data for post id: 101 for the key wsm-content-downloads with the $value as $entry http://site.com/download2.pdf
  68. [02/22/2012 3:46 AM] - SUCCESS :
  69. Array
  70. (
  71. [0] => Download Resource 2
  72. [1] => http://site.com/download2.pdf
  73. [2] => PDF
  74. [3] => http://site.com/download.pdf
  75. [4] => Download Resource 1
  76. )
  77. [02/22/2012 3:46 AM] - SUCCESS :Returning to the beginning of data save loop or ending...
  78.  
  79. ------------------------------------------------------------------
  80.  
  81. [02/22/2012 3:46 AM] - SUCCESS :Beginning foreach loop to save data for $value as $entry...
  82. [02/22/2012 3:46 AM] - SUCCESS :Successfully updated custom field data for post id: 101 for the key wsm-content-downloads with the $value as $entry PDF
  83. [02/22/2012 3:46 AM] - SUCCESS :
  84. Array
  85. (
  86. [0] => Download Resource 2
  87. [1] => http://site.com/download2.pdf
  88. [2] => PDF
  89. [3] => http://site.com/download.pdf
  90. [4] => Download Resource 1
  91. [5] => PDF
  92. )
  93. [02/22/2012 3:46 AM] - SUCCESS :Returning to the beginning of data save loop or ending...
  94.  
  95. ------------------------------------------------------------------
  96.  
  97. [02/22/2012 3:46 AM] - SUCCESS :Beginning foreach loop to save data for $value as $entry...
  98. [02/22/2012 3:46 AM] - SUCCESS :Successfully updated custom field data for post id: 101 for the key wsm-content-downloads with the $value as $entry Download Resource 3
  99. [02/22/2012 3:46 AM] - SUCCESS :
  100. Array
  101. (
  102. [0] => Download Resource 2
  103. [1] => http://site.com/download2.pdf
  104. [2] => PDF
  105. [3] => http://site.com/download.pdf
  106. [4] => Download Resource 1
  107. [5] => PDF
  108. [6] => Download Resource 3
  109. )
  110. [02/22/2012 3:46 AM] - SUCCESS :Returning to the beginning of data save loop or ending...
  111.  
  112. ------------------------------------------------------------------
  113.  
  114. [02/22/2012 3:46 AM] - SUCCESS :Beginning foreach loop to save data for $value as $entry...
  115. [02/22/2012 3:46 AM] - SUCCESS :Successfully updated custom field data for post id: 101 for the key wsm-content-downloads with the $value as $entry http://site.com/download.mp4
  116. [02/22/2012 3:46 AM] - SUCCESS :
  117. Array
  118. (
  119. [0] => Download Resource 2
  120. [1] => http://site.com/download2.pdf
  121. [2] => PDF
  122. [3] => http://site.com/download.pdf
  123. [4] => Download Resource 1
  124. [5] => PDF
  125. [6] => Download Resource 3
  126. [7] => http://site.com/download.mp4
  127. )
  128. [02/22/2012 3:46 AM] - SUCCESS :Returning to the beginning of data save loop or ending...
  129.  
  130. ------------------------------------------------------------------
  131.  
  132. [02/22/2012 3:46 AM] - SUCCESS :Beginning foreach loop to save data for $value as $entry...
  133. [02/22/2012 3:46 AM] - SUCCESS :Successfully updated custom field data for post id: 101 for the key wsm-content-downloads with the $value as $entry Video
  134. [02/22/2012 3:46 AM] - SUCCESS :
  135. Array
  136. (
  137. [0] => Download Resource 2
  138. [1] => http://site.com/download2.pdf
  139. [2] => PDF
  140. [3] => http://site.com/download.pdf
  141. [4] => Download Resource 1
  142. [5] => PDF
  143. [6] => Download Resource 3
  144. [7] => http://site.com/download.mp4
  145. [8] => Video
  146. )
  147. [02/22/2012 3:46 AM] - SUCCESS :Returning to the beginning of data save loop or ending...
  148.  
  149. ------------------------------------------------------------------
  150.  
  151. [02/22/2012 3:46 AM] - SUCCESS :Ended array custom field data save loop for post id: 101 for the key wsm-content-downloads. Custom field data for key is as follows:
  152. [02/22/2012 3:46 AM] - SUCCESS :
  153. Array
  154. (
  155. [0] => Download Resource 2
  156. [1] => http://site.com/download2.pdf
  157. [2] => PDF
  158. [3] => http://site.com/download.pdf
  159. [4] => Download Resource 1
  160. [5] => PDF
  161. [6] => Download Resource 3
  162. [7] => http://site.com/download.mp4
  163. [8] => Video
  164. )
  165. [02/22/2012 3:46 AM] - SUCCESS :Ending data saving operation and reloading the page...
  166.  
  167. ------------------------------------------------------------------
  168.  
  169. [02/22/2012 3:46 AM] - SUCCESS :We've found content downloads for this post, setting the value of $i to 0 to start the loop...
  170. [02/22/2012 3:46 AM] - SUCCESS :
  171. Array
  172. (
  173. [0] => Download Resource 2
  174. [1] => http://site.com/download2.pdf
  175. [2] => PDF
  176. [3] => http://site.com/download.pdf
  177. [4] => Download Resource 1
  178. [5] => PDF
  179. [6] => Download Resource 3
  180. [7] => http://site.com/download.mp4
  181. [8] => Video
  182. )
  183. [02/22/2012 3:46 AM] - SUCCESS :Begin foreach loop for meta box downloads output: $i =0
  184. [02/22/2012 3:46 AM] - SUCCESS :variable $i is not equal to 3 yet, so not resetting value to 0. $i = 0
  185. [02/22/2012 3:46 AM] - SUCCESS :Incremented value of $i which now equals 1
  186. [02/22/2012 3:46 AM] - SUCCESS :$flag=1 outputting first input with the value of Download Resource 2
  187.  
  188. ------------------------------------------------------------------
  189.  
  190. [02/22/2012 3:46 AM] - SUCCESS :Begin foreach loop for meta box downloads output: $i =1
  191. [02/22/2012 3:46 AM] - SUCCESS :variable $i is not equal to 3 yet, so not resetting value to 0. $i = 1
  192. [02/22/2012 3:46 AM] - SUCCESS :Incremented value of $i which now equals 2
  193. [02/22/2012 3:46 AM] - SUCCESS :$flag=2 outputting second input with the value of http://site.com/download2.pdf
  194.  
  195. ------------------------------------------------------------------
  196.  
  197. [02/22/2012 3:46 AM] - SUCCESS :Begin foreach loop for meta box downloads output: $i =2
  198. [02/22/2012 3:46 AM] - SUCCESS :variable $i is not equal to 3 yet, so not resetting value to 0. $i = 2
  199. [02/22/2012 3:46 AM] - SUCCESS :Incremented value of $i which now equals 3
  200. [02/22/2012 3:46 AM] - SUCCESS :$element == PDF, setting value of $select_pdf to selected="selected"
  201. [02/22/2012 3:46 AM] - SUCCESS :$flag=3 outputting third input (download type select list) with the value of PDF
  202.  
  203. ------------------------------------------------------------------
  204.  
  205. [02/22/2012 3:46 AM] - SUCCESS :Begin foreach loop for meta box downloads output: $i =3
  206. [02/22/2012 3:46 AM] - SUCCESS :variable $i equals 3, resetting $i to 0...
  207. [02/22/2012 3:46 AM] - SUCCESS :variable $i now equals 0
  208. [02/22/2012 3:46 AM] - SUCCESS :Incremented value of $i which now equals 1
  209. [02/22/2012 3:46 AM] - SUCCESS :$flag=1 outputting first input with the value of http://site.com/download.pdf
  210.  
  211. ------------------------------------------------------------------
  212.  
  213. [02/22/2012 3:46 AM] - SUCCESS :Begin foreach loop for meta box downloads output: $i =1
  214. [02/22/2012 3:46 AM] - SUCCESS :variable $i is not equal to 3 yet, so not resetting value to 0. $i = 1
  215. [02/22/2012 3:46 AM] - SUCCESS :Incremented value of $i which now equals 2
  216. [02/22/2012 3:46 AM] - SUCCESS :$flag=2 outputting second input with the value of Download Resource 1
  217.  
  218. ------------------------------------------------------------------
  219.  
  220. [02/22/2012 3:46 AM] - SUCCESS :Begin foreach loop for meta box downloads output: $i =2
  221. [02/22/2012 3:46 AM] - SUCCESS :variable $i is not equal to 3 yet, so not resetting value to 0. $i = 2
  222. [02/22/2012 3:46 AM] - SUCCESS :Incremented value of $i which now equals 3
  223. [02/22/2012 3:46 AM] - SUCCESS :$element == PDF, setting value of $select_pdf to selected="selected"
  224. [02/22/2012 3:46 AM] - SUCCESS :$flag=3 outputting third input (download type select list) with the value of PDF
  225.  
  226. ------------------------------------------------------------------
  227.  
  228. [02/22/2012 3:46 AM] - SUCCESS :Begin foreach loop for meta box downloads output: $i =3
  229. [02/22/2012 3:46 AM] - SUCCESS :variable $i equals 3, resetting $i to 0...
  230. [02/22/2012 3:46 AM] - SUCCESS :variable $i now equals 0
  231. [02/22/2012 3:46 AM] - SUCCESS :Incremented value of $i which now equals 1
  232. [02/22/2012 3:46 AM] - SUCCESS :$flag=1 outputting first input with the value of Download Resource 3
  233.  
  234. ------------------------------------------------------------------
  235.  
  236. [02/22/2012 3:46 AM] - SUCCESS :Begin foreach loop for meta box downloads output: $i =1
  237. [02/22/2012 3:46 AM] - SUCCESS :variable $i is not equal to 3 yet, so not resetting value to 0. $i = 1
  238. [02/22/2012 3:46 AM] - SUCCESS :Incremented value of $i which now equals 2
  239. [02/22/2012 3:46 AM] - SUCCESS :$flag=2 outputting second input with the value of http://site.com/download.mp4
  240.  
  241. ------------------------------------------------------------------
  242.  
  243. [02/22/2012 3:46 AM] - SUCCESS :Begin foreach loop for meta box downloads output: $i =2
  244. [02/22/2012 3:46 AM] - SUCCESS :variable $i is not equal to 3 yet, so not resetting value to 0. $i = 2
  245. [02/22/2012 3:46 AM] - SUCCESS :Incremented value of $i which now equals 3
  246. [02/22/2012 3:46 AM] - SUCCESS :$element == Video, setting value of $select_video to selected="selected"
  247. [02/22/2012 3:46 AM] - SUCCESS :$flag=3 outputting third input (download type select list) with the value of Video
  248.  
  249. ------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement