Ticket #2478 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

the_meta() doesn't hide hidden meta keys

Reported by: MattRead Assigned to: markjaquith
Priority: low Milestone:
Component: Template Version: 2.0.1
Severity: trivial Keywords: commit has-patch
Cc:

Description

meta keys begining with underscore (_) are supposed to be hidden feilds, as far as I know. But the_meta() does not hide them. So here's a patch for the_meta() that will not display hidden feilds.

Attachments

template-functions-post.php.diff (0.8 kB) - added by MattRead on 02/18/06 04:41:10.
the_meta hidden feilds fix
2478.diff (0.8 kB) - added by davidhouse on 02/18/06 10:05:02.
Roughly the same patch
2478_20.diff (0.6 kB) - added by Nazgul on 10/06/06 02:56:26.

Change History

02/18/06 04:41:10 changed by MattRead

  • attachment template-functions-post.php.diff added.

the_meta hidden feilds fix

02/18/06 04:43:09 changed by MattRead

  • version changed from 1.2 to 2.0.1.

02/18/06 10:05:02 changed by davidhouse

  • attachment 2478.diff added.

Roughly the same patch

02/18/06 10:06:25 changed by davidhouse

  • keywords set to bg|commit.

Confirm bug and that MattRead?'s diff fixes things. I couldn't get it to apply against latest svn for some reason, so here's a rougly equivalent patch (read: does the same things) that should apply fine.

02/18/06 10:06:36 changed by davidhouse

  • keywords changed from bg|commit to bg|commit bg|has-patch.

10/04/06 06:23:44 changed by markjaquith

  • keywords changed from bg|commit bg|has-patch to bg|commit bg|needs-patch refresh.
  • owner changed from anonymous to markjaquith.
  • status changed from new to assigned.

Needs to be refreshed

10/06/06 02:56:26 changed by Nazgul

  • attachment 2478_20.diff added.

10/06/06 02:57:27 changed by Nazgul

  • keywords changed from bg|commit bg|needs-patch refresh to commit has-patch.
  • milestone set to 2.0.5.

New patch attached for 2.0.5. Backported the fix from trunk.

10/10/06 05:29:09 changed by markjaquith

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [4368]) the_meta() should ignore keys that start with an underscore. Props Nazgul. fixes #2478

11/06/06 18:07:15 changed by tenpura

11/30/06 19:41:51 changed by

  • milestone deleted.

Milestone 2.0.5 deleted