PluginProbe
FeedWordPress / 2015.0514
FeedWordPress v2015.0514
trunk 0.8 0.9 0.91 0.95 0.96 0.97 0.98 0.981 0.99 0.991 0.992 0.993 2008.1030 2008.1101 2008.1105 2008.1214 2009.0612 2009.0613 2009.0618 2009.0707 2009.1111 2009.1112 2010.0127 2010.0528 All 65 releases
← All changes | inspectpostmeta.class.php +3 -3 trunk2015.0514 View file →
@@ -7,11 +7,11 @@
7 7 * Author URI: http://projects.radgeek.com
8 8 */
9 9
10 10 class InspectPostMeta {
11 - public function __construct ($in_hook = true) {
11 + function InspectPostMeta ($in_hook = true) {
12 12 add_action('add_meta_boxes', array($this, 'add_meta_boxes'), 10, 2);
13 - } /* InspectPostMeta::__construct () */
13 + }
14 14
15 15 function add_meta_boxes ($post_type, $post) {
16 16 add_meta_box(
17 17 /*id=*/ 'inspect_post_guid_box',
@@ -49,9 +49,9 @@
49 49 $idx = 1;
50 50 foreach ($values as $value) :
51 51 print "<tr><th style='text-align: left' scope='row'>".esc_html($key);
52 52 if ($idx > 1) :
53 - print esc_html( sprintf( '[%d]', intval( $idx ) ) );
53 + print "[$idx]";
54 54 endif;
55 55 print ":</th> ";
56 56 print "<td><pre><code>".esc_html($value)."</code></pre>";
57 57 print "</td></tr>\n";