Changeset 785535 for landing-pages
- Timestamp:
- 10/09/2013 08:33:08 PM (12 years ago)
- File:
-
- 1 edited
-
landing-pages/trunk/modules/module.utils.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
landing-pages/trunk/modules/module.utils.php
r784722 r785535 6 6 add_action( 'init', 'inbound_meta_debug' ); 7 7 if (!function_exists('inbound_meta_debug')) { 8 function inbound_meta_debug(){ 9 //print all global fields for post 10 if (isset($_GET['debug'])) { 8 function inbound_meta_debug() 9 { 10 //print all global fields for post 11 if (isset($_GET['debug']) && ( isset($_GET['post']) && is_numeric($_GET['post']) ) ) 12 { 11 13 global $wpdb; 12 14 $data = array(); … … 16 18 WHERE `post_id` = ".mysql_real_escape_string($_GET['post'])." 17 19 "); 20 18 21 foreach($wpdb->last_result as $k => $v){ 19 22 $data[$v->meta_key] = $v->meta_value;
Note: See TracChangeset
for help on using the changeset viewer.