Ticket #5652 (new enhancement)

Opened 8 months ago

Last modified 2 months ago

Add extra parameters wp_list_bookmarks and wp_list_pages

Reported by: thee17 Assigned to: ryan
Priority: normal Milestone: 2.7
Component: Template Version: 2.5
Severity: normal Keywords: has-patch dev-feedback
Cc:

Description

Add parameters to inside the hyperlink tags (named innerbefore and innerafter).

resolves: http://wordpress.org/support/topic/151364

Attachments

add-innerbefore-innerafter.diff (0.7 kB) - added by thee17 on 01/12/08 19:49:47.
Adds innerbefore and innerafter
pages.diff (2.9 kB) - added by thee17 on 01/30/08 22:04:03.
wp_list_pages patch
5652-link_-revision.diff (5.1 kB) - added by thee17 on 02/13/08 19:38:51.
New Patch for link_before and link_after
5652-link_-revision2.diff (3.3 kB) - added by thee17 on 02/13/08 20:56:04.
Another attempt
5652-2-7-revision.diff (5.1 kB) - added by thee17 on 07/20/08 00:05:08.
New version of revision that replaces the original errors of the last patch

Change History

01/12/08 19:49:47 changed by thee17

  • attachment add-innerbefore-innerafter.diff added.

Adds innerbefore and innerafter

01/12/08 19:50:22 changed by thee17

  • version set to 2.5.

01/12/08 20:23:05 changed by thee17

  • keywords changed from has-patch 2nd-opinion to has-patch.

01/19/08 03:09:41 changed by thee17

Created the Codex info for this patch if it gets commited.

http://codex.wordpress.org/User:Thee17/2.5_Documentation

01/19/08 17:56:20 changed by ryan

  • owner changed from anonymous to ryan.

01/30/08 22:03:33 changed by thee17

  • summary changed from Add extra parameters wp_list_bookmarks to Add extra parameters wp_list_bookmarks and wp_list_pages.

I know it hasn't been decided on what the terms will be but in this patch for wp_list_pages, i have used innerbefore and innerafter.

01/30/08 22:04:03 changed by thee17

  • attachment pages.diff added.

wp_list_pages patch

02/13/08 19:06:09 changed by ryan

How about something like link_before and link_after? Also, make sure to set them to empty string in the defaults array.

02/13/08 19:38:14 changed by thee17

New Patch added: - $innerbefore is now $link_before. - $innerafter is now $link_after. - Defaults added as - Inline documentation changed in bookmark-template.php (post-template.php does not have documentation.

02/13/08 19:38:51 changed by thee17

  • attachment 5652-link_-revision.diff added.

New Patch for link_before and link_after

02/13/08 20:56:04 changed by thee17

  • attachment 5652-link_-revision2.diff added.

Another attempt

02/13/08 22:41:08 changed by thee17

Revision 2 breaks WP

02/17/08 00:20:17 changed by thee17

  • keywords changed from has-patch to template-added-options has-patch.
  • component changed from General to Template.

5652-link_-revision.diff has the final version of my recomended additions. I have tested it on a like site for the past several days and there hoes not seem to be an issue.

03/19/08 03:12:13 changed by thee17

  • milestone changed from 2.5 to 2.6.

I guess this is not going to happen in 2.5

06/21/08 00:31:11 changed by thee17

  • keywords changed from template-added-options has-patch to has-patch dev-feedback.

06/25/08 03:11:35 changed by thee17

  • milestone changed from 2.6 to 2.7.

07/20/08 00:05:08 changed by thee17

  • attachment 5652-2-7-revision.diff added.

New version of revision that replaces the original errors of the last patch