WordPress.org

Plugin Directory

page-tools

Opened 10 years ago

Closed 10 years ago

Last modified 7 weeks ago

#81 closed enhancement (fixed)

page peers

Reported by: indi@… Owned by: mcnicks
Priority: normal Severity: normal
Plugin: page-tools Keywords: page peers
Cc:

Description

I'd like to display the Page Peers as well as the internal anchors. That is, it would be cool to display everything that is on the same level as the post you're reading.

For example for,

About
-Interests
--Monkeys
--Goats
--Pigs

It would be ideal if someone reading 'Monkeys' would also see links to 'Goats' and 'Pigs'.

Plugin is great, I think your tags should be part of the source.

Attachments (1)

page-tools.php (8.3 KB) - added by skreak 10 years ago.
Update to page-tools.php, including sibling functions at bottom of file

Download all attachments as: .zip

Change History (9)

comment:1 @skreak10 years ago

I have written a function which will display the previous or next siblings of a given page. I'll attach the updated code.

To display it you use code similar to the following:

<table width="100%"><tr><td width="50%" align="left">
     <?php echo page_get_sibling('prev', 'Previous: '); ?>
   </td><td align="right">
     <?php echo page_get_sibling('next', 'Next: '); ?>
</td></tr></table>

...I tried to email this to David, but couldn't find a valid email address for him. David, if you're there mail me back at NOtimSpam@….

The code is pretty straightforward; I've added it to the bottom of page-tools.php (attached). You can see it in action at my nascent blog, ex at the bottom of this page:

http://skreak.com/wp/?page_id=5

The functions are pretty rudimentary right now, but I have plans to improve them in various ways.

@skreak10 years ago

Update to page-tools.php, including sibling functions at bottom of file

comment:2 @mcnicks10 years ago

  • Resolution set to fixed
  • Status changed from new to closed

I have added a simple page_get_siblings() function to version 0.2b. I don't want to make the plugin too complicated but I will have a go at integrating your next / previous stuff if I get time during the holidays.

Cheers,
David

comment:3 @boonebgorges4 years ago

In [382918]:

Adds group Doc count to group tab. Fixes #81

comment:4 @qurl3 years ago

In [591091]:


fixed #75: Add Custom Taxonomy to Posts
fixed #81: Re-introduce individual Custom Post Types support


comment:5 @sushkov3 years ago

In [610116]:

Leave 2 slashed for backwards compatibility. Fixes #81

comment:6 @jewlofthelotus9 months ago

In 1013929:

merges #82, closes #85, closes #81, closes #80, closes #66

comment:7 @githubsync8 weeks ago

In 1175989:

Add a visual indicator that a menu item is added

commit 7cb06a67d2881e406b77573a0b404cb82754c7eb
Author: Nick Halsey <info@…>
Date: Sat Jun 6 14:27:20 2015 -0700

Add a visual indicator that a menu item is added


In the available menu items panel. Leaving issue open for design review.
See #81.

Synced from git://github.com/voldemortensen/menu-customizer.git

comment:8 @githubsync7 weeks ago

In 1180701:

: Sun Jun 14 11:38:53 2015 -0700

commit fd6dc9f23e8c43cc7bb8df424fcd846fb88c6c22
Merge: dfa8c87 01eb943
Author: Nick Halsey <halseyns@…>
Date: Sun Jun 14 11:38:53 2015 -0700

Merge pull request #73 from voldemortensen/feature/issue-67


Re-architect Customizer setting usage and sub-menus UI. Introduces drag & drop submenus. Fixes numerous issues as indicated in individual commits, and requires several recent filters added to core. Likely to have a few lingering issues, please test and report anything that isn't working.

commit 01eb94391f3366265b7cd740c19f171e1d36abda
Author: Weston Ruter <weston@…>
Date: Sun Jun 14 10:39:02 2015 -0700

Set minimum required core version to 4.3-alpha-32764

commit 811849a4f64f0077bac0532997c6733bf8b19aab
Author: Derek Herman <derek@…>
Date: Sun Jun 14 10:23:05 2015 -0700

protect $is_previewed & $is_updated

commit d409b669051c0b19a3d1e1237b6ed1519f595c72
Author: Derek Herman <derek@…>
Date: Sun Jun 14 10:09:14 2015 -0700

test constructor exception

commit 9d3a46ec0e9c6fd81da039bc5ece63305bbda82d
Author: Derek Herman <derek@…>
Date: Sun Jun 14 09:33:53 2015 -0700

test nav_menu_term_id returns 0 when previewing a new menu

commit 181ca3039e24a4b143c2137a23da49df04becbee
Author: Derek Herman <derek@…>
Date: Sun Jun 14 09:32:23 2015 -0700

fix & test original title in WP_Customize_Nav_Menu_Item_Setting::value()

commit b435a9772867a8a43c4cfeea13e06a98fe549414
Author: Derek Herman <derek@…>
Date: Sun Jun 14 06:08:10 2015 -0700

test contructor exception

commit d7e5b8828154ee0babaa7c410188b7aacc0efdaf
Author: Derek Herman <derek@…>
Date: Sun Jun 14 04:59:21 2015 -0700

test WP_Customize_Menus::available_item_types()

commit 29addc4c0f8b6cb9bdbda48b2c72541b382d7705
Author: Derek Herman <derek@…>
Date: Sun Jun 14 04:23:02 2015 -0700

test WP_Customize_Menus::intval_base10()

commit 4776f86af469b93b56c5d38c91718a49a11be1e4
Author: Derek Herman <derek@…>
Date: Sun Jun 14 04:00:47 2015 -0700

clean up search test

commit e427202eb2a65bb62168cbee9b404ba0062657d8
Author: Derek Herman <derek@…>
Date: Sun Jun 14 03:52:11 2015 -0700

add class docs

commit cc1eaa59c65b3b872e2939eae39f6b44f022bc8c
Author: Derek Herman <derek@…>
Date: Sun Jun 14 03:40:37 2015 -0700

add incomplete test functions

commit 9db353ab3f9ebab050d8c2b398cf70ed596f15c6
Merge: aabc207 ee3cb31
Author: Derek Herman <derek@…>
Date: Sun Jun 14 03:21:20 2015 -0700

merge changes

commit aabc207e1f0f78c04b1eae7031cc2d916fe7196f
Author: Derek Herman <derek@…>
Date: Sun Jun 14 03:17:51 2015 -0700

fix & test search_available_items_query

commit ee3cb31152b4639b96afeaa53d65f1d60aeb227d
Author: Weston Ruter <weston@…>
Date: Sun Jun 14 01:15:21 2015 -0700

Fix remaining PHPCS issues

commit be7fd5ce1e8549807144aa659e653c5d9eceda01
Author: Weston Ruter <weston@…>
Date: Sun Jun 14 01:10:44 2015 -0700

WIP for setting-based reordering

commit e3cd7a87a9b150137224be7362a840bbcd411cc8
Author: Weston Ruter <weston@…>
Date: Sun Jun 14 00:13:01 2015 -0700

Add script to generate phpunit code coverage and push to gh-pages

commit 5a72ae53532826a36c4ff04b53482f1413641554
Author: Derek Herman <derek@…>
Date: Sat Jun 13 23:21:52 2015 -0700

test original_title sanitize

commit 6761d44d7a9d12c1f5004c1ccf80597bc8c36747
Author: Derek Herman <derek@…>
Date: Sat Jun 13 23:19:51 2015 -0700

fix tests

commit 3738806e6851cffb059d311677e214bb99d94c15
Author: Weston Ruter <weston@…>
Date: Sat Jun 13 22:38:14 2015 -0700

Replace get_term() and pre_get_term filter with wp_get_nav_menu_object()

commit c0273851b8e66846f792e04e85047b57accbfabb
Author: Weston Ruter <weston@…>
Date: Sat Jun 13 22:34:36 2015 -0700

Fix Test_WP_Customize_Menus

commit b871741abd2d6c3fab4a43d90d282f4acf2058ee
Author: Derek Herman <derek@…>
Date: Sat Jun 13 22:32:19 2015 -0700

missed a tab

commit 0a1726e630957b55974867e4ef1d8e4e88ab97b5
Author: Derek Herman <derek@…>
Date: Sat Jun 13 22:30:23 2015 -0700

remove whitespace

commit 7044567e01748f0756ca0e415f8d94a74a3d0bc3
Author: Derek Herman <derek@…>
Date: Sat Jun 13 22:29:16 2015 -0700

bring original_title back

commit 62078ca8b56a786d717a1cacbe00ea7f07d741a1
Author: Nick Halsey <info@…>
Date: Sat Jun 13 12:41:49 2015 -0700

Change the submenu depth factor to 20px


This makes it easier to work with drag & drop submenus, at the cost of
making menus with depths of 9 or 10 levels fairly unusable.

commit 6129324b503cad1bba648baa1226317202391d63
Author: Nick Halsey <info@…>
Date: Sat Jun 13 12:31:21 2015 -0700

Restore type labels for available menus items, and fix title decoding


This seems to have been temporarily/accidentally removed during the
refactoring. The type labels are especially critical in the search
context, where types are mixed and multiple objects have the same title
but different types.

commit 338567cbe548be96d2e2b72c1714eb6a826154d5
Author: Weston Ruter <weston@…>
Date: Sat Jun 13 00:30:11 2015 -0700

Harden parsing of IDs for sortable items

commit e0e8f667d9727687f54d30be00a84d92886da895
Author: Weston Ruter <weston@…>
Date: Sat Jun 13 00:28:43 2015 -0700

Fix bug in previewing re-sorted items; improve efficiency by deferring sort once at end

commit c81fee3bbb126825c37972f437dd185687f8064a
Author: Weston Ruter <weston@…>
Date: Fri Jun 12 23:24:14 2015 -0700

Fix re-embedding of newly-inserted nav menu item controls


Ensure that control.deferred.embedded gets resolved

commit 4562dd6d6f38e088fcfdf81299957141c608997d
Author: Nick Halsey <info@…>
Date: Fri Jun 12 23:03:36 2015 -0700

Tweak the menu item form styling to better align with widgets

commit 0a6f469f094d44b621c071e57c19f88ab3305d15
Author: Nick Halsey <info@…>
Date: Fri Jun 12 22:35:50 2015 -0700

Fix focus styling for screen options & help cross-browser


Fixes #100.

commit 66a57b636a5e51735242e3b5670b422ac2c4d27d
Author: Weston Ruter <weston@…>
Date: Fri Jun 12 22:27:48 2015 -0700

Fix majority of JSCS issues in menu-customizer.js

commit e0b63f18dcb0ca937de1ae1ef926089ba6f13142
Author: Nick Halsey <info@…>
Date: Fri Jun 12 22:22:03 2015 -0700

Don't show post formats in available menu items if theme doesn't support post formats


Fixes #102.

commit 6c742eb1b8fdb27c46d84c20e664592703eeadf2
Author: Nick Halsey <info@…>
Date: Fri Jun 12 18:24:30 2015 -0700

Fix menu locations section selector

commit 981c82cad7effd1c8bb84ded0c1cc04f204e74cb
Author: voldemortensen <jmort47@…>
Date: Fri Jun 12 18:12:25 2015 +0000

Add base for WP_Customize_Menus unit tests

commit de1d0936a8752c4d36aa23456a9fda68ef4b1ba5
Author: Weston Ruter <weston@…>
Date: Fri Jun 12 11:06:17 2015 -0700

Fix clearing out a nav menu location


And some JSCS errors

commit 7fce1684b89ce04d1ca8ebc6dcadbebef0588db7
Merge: 90209f5 dfa8c87
Author: voldemortensen <jmort47@…>
Date: Fri Jun 12 17:51:02 2015 +0000

Merge branch 'master' of https://github.com/voldemortensen/menu-customizer into feature/issue-67

commit 90209f50186d63ead1a315510974002ad895f2aa
Author: Nick Halsey <info@…>
Date: Thu Jun 11 23:39:50 2015 -0700

Restore lazy loading of menu item controls


This is critical for ensuring that menus don't slow down the Customizer,
especially on initial load. Menu item controls are rendered to html and
inserted into the DOM as-needed, one menu at a time when the menu
section is first opened (a nearly-instant process when handled one menu
at a time like this).

commit e2de74abc08aa48e23b9a1e3939433b52b8da125
Author: Weston Ruter <weston@…>
Date: Thu Jun 11 23:38:49 2015 -0700

Remove dependency on Partial Refresh for preview to trigger self-refresh


Fix JSCS issues

commit bd9915c91ab712b8ecbb8e188edf8c9a5f0d3f2e
Author: Weston Ruter <weston@…>
Date: Thu Jun 11 23:31:54 2015 -0700

Fix JSCS issues in customize-menus-preview.js

commit bc50591a663f16788b40f78f1b5fc309bb4de662
Author: Weston Ruter <weston@…>
Date: Thu Jun 11 23:30:15 2015 -0700

Trigger preview refresh when location change not found

commit 4226622ea671cdc571af97bb974cb552973dde76
Author: Weston Ruter <weston@…>
Date: Thu Jun 11 23:26:51 2015 -0700

Rename WP_Customize_Menu_Location_Control to WP_Customize_Nav_Menu_Location_Control

commit a664d3852e8bb85eda108a4d9faf3d4ee2561b05
Author: Nick Halsey <info@…>
Date: Thu Jun 11 23:05:59 2015 -0700

Remove require() of nonexistent file

commit b0cada7b5646c158cb3aa3670c19cf474a96ab58
Author: Nick Halsey <info@…>
Date: Thu Jun 11 23:02:24 2015 -0700

Redesign the item-added indicator


Note that the gray can't go any lighter due to contrast ratios, so it
isn't super obvious but the icon change is. Props folletto. Fixes #81.

commit 2a5a647af8607735976b09a0f3eee542fd5de2f4
Author: Weston Ruter <weston@…>
Date: Thu Jun 11 22:55:02 2015 -0700

Finish breaking up menu-customize-controls.php into separate files

commit 2f0d1baaf6ba711fdff1f21d63b65fb9c7518b74
Author: Weston Ruter <weston@…>
Date: Thu Jun 11 22:50:16 2015 -0700

Run html_entity_decode on get_the_title()

commit 5ac063d54316157392c588d30e8f35c30983e70b
Author: Weston Ruter <weston@…>
Date: Thu Jun 11 22:18:47 2015 -0700

Harden partial refresh and fallback to full refresh when partial is not available

commit 0f4ea4e53eb265855d06d2d5169e76c0192a23c5
Author: Weston Ruter <weston@…>
Date: Thu Jun 11 22:09:55 2015 -0700

Handle saving new menus with new items and assigned to a location

commit 3466fddf4fecc4a68290a3c03b24d519b4fa1cb2
Author: Derek Herman <derek@…>
Date: Thu Jun 11 19:49:38 2015 -0700

a position of 1 does not guaranteed the first menu item

commit a620c311569a03dfa91b5809898b952c6fab287e
Merge: 67c1a70 01cef68
Author: Derek Herman <derek@…>
Date: Thu Jun 11 14:57:05 2015 -0700

merging changes

commit 67c1a705252d40cf699f095daeccf05ac613fe73
Author: Derek Herman <derek@…>
Date: Thu Jun 11 14:56:02 2015 -0700

fix adjacent menu item position

commit 01cef68120552b321505fde49787ccbbf5da80d3
Author: Weston Ruter <weston@…>
Date: Thu Jun 11 14:51:10 2015 -0700

Dynamically create nav_menu[x] and nav_menu[x][name] controls in Section ready method


For menus that lack sections, they will only be rendered if this Core patch is applied:
https://github.com/xwp/wordpress-develop/commit/a7677313149e1485327bfb8824acf37adce8e8b4

commit da8ac19b7e69d78297b1aa97d70ec4e1976954da
Author: Derek Herman <derek@…>
Date: Thu Jun 11 12:58:43 2015 -0700

fix depth

commit 96b56a0e0a35073aa8beaecade2a568c555a9422
Author: Derek Herman <derek@…>
Date: Thu Jun 11 01:30:26 2015 -0700

add todo

commit 3bd85b294ff3cd6637d00eada2f81c95ff790ce4
Merge: c952b4e 09dc8af
Author: Derek Herman <derek@…>
Date: Thu Jun 11 01:21:10 2015 -0700

merge

commit c952b4ecbe7065d02b52c6b5436fde434df23c16
Author: Derek Herman <derek@…>
Date: Thu Jun 11 01:20:48 2015 -0700

_moveMenuItemByOne work so far

commit 09dc8afb2e9e44358489c6e6ca5dc30e69427999
Author: Weston Ruter <weston@…>
Date: Thu Jun 11 00:49:15 2015 -0700

Add newly-created menus to Custom Menu widgets; handle name updates and removals

commit 93fe2899c8afbb23ee11c96b65c514948c5c91cf
Author: Weston Ruter <weston@…>
Date: Thu Jun 11 00:06:48 2015 -0700

De-delect a nav_menu_location when the assigned menu is removed

commit eba15cc05ec6f9ef7134acf235c79e8ed663b584
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 23:56:22 2015 -0700

Update menu names in nav menu locations dropdowns when menu is added/removed/changed

commit 2cb6a719e4e9befef03347c11fab636a84ec6e20
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 23:44:35 2015 -0700

Re-enable adding of menus, but without Ajax

commit a975f508e1f41da245da88cc32cdbc9710121c23
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 23:41:22 2015 -0700

Fix sanitize_term() from blowing away placeholder (negative) menu IDs

commit 0afa2c2268f487f00c11328229affebacc28f8f0
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 23:40:36 2015 -0700

Re-use existing nav_menu_locations setting; ensure negative placeholder IDs can be used

commit 2e884983962cb153ce5b4eaaf3b676ad133f3e50
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 22:05:55 2015 -0700

Remove deprecated methods

commit 72ca801ac441629883b62cf095e42a693b9b8074
Author: Derek Herman <derek@…>
Date: Wed Jun 10 23:09:14 2015 -0700

remove test code

commit d227e4ba36d2f8c55ba491dddcf848f13516479c
Merge: 670ef3f a446bab
Author: Derek Herman <derek@…>
Date: Wed Jun 10 22:45:53 2015 -0700

merge changes

commit 670ef3ff0e7d0e4b5839e2e6b87ce831f52a920b
Author: Derek Herman <derek@…>
Date: Wed Jun 10 22:45:48 2015 -0700

_moveMenuItemByOne now goes up and down

commit a446bab3743ef71bc197dfebec8b15453427aec1
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 21:58:00 2015 -0700

Fix Menus.getMenuControl() to use new ID scheme

commit 132649eaac0a08523f4004f906b43b7dfd9296bb
Author: Derek Herman <derek@…>
Date: Wed Jun 10 21:54:37 2015 -0700

remove completed todo

commit 8bd7b605f0c8a40a2a4ba1b13b6e42edae7f4527
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 21:46:13 2015 -0700

Add comments for how re-ordering needs to be improve; comment-out dead code; throw errors

commit 0e0a2fdc6532d8f8521299c687ffa1c615950671
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 21:42:11 2015 -0700

Remove code that was intended for nav_menu_item instead of nav_menu

commit 31f0956ab3cea47464a661c4144e6d86c2ca4103
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 21:41:47 2015 -0700

Replace more instances of control.params.depth with control.getDepth()

commit ff1f10ad611f45029d290b0c2b63cf8cb3456bb8
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 21:41:10 2015 -0700

Stop removing nav_menu_item control when it is being removed elsewhere

commit 362763d5f8548e606749adfbbea02a8f22808c64
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 21:40:15 2015 -0700

Add todo for the nav_menu_item setting that gets removed

commit 44113586667da631c7a5bd2acec4f6b0ba4208b7
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 21:37:07 2015 -0700

Flesh out the nav_menu_item setting change handler

commit 64a1403d7f8de82950851714cc9e7e05427774f4
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 21:34:40 2015 -0700

Rename self to control

commit 20af2dc659dbc58d6b7c1baeb7ef58c5e636057a
Merge: 9020fe6 9c02a7d
Author: Derek Herman <derek@…>
Date: Wed Jun 10 21:36:30 2015 -0700

Merge branch 'feature/issue-67' of https://github.com/voldemortensen/menu-customizer into feature/issue-67

commit 9020fe6a77b74b6e74d6b8ea374f128d80f2e293
Author: Derek Herman <derek@…>
Date: Wed Jun 10 21:36:12 2015 -0700

abstract labels into getTypeLabel

commit 9c02a7d5b0b896ff945e7d2379105e034cbdb1f1
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 21:08:31 2015 -0700

Throw exception in _moveMenuItemByOne which now needs to be updated

commit 255c2ec4ac131294ab0ad9b4c4465a7739b811e6
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 21:08:04 2015 -0700

Remove obsolete updateMenuItem()

commit c5843bf1fad7249e5f2b37758b2f3432a3e8acf4
Author: Derek Herman <derek@…>
Date: Wed Jun 10 21:06:11 2015 -0700

remove completed todo

commit 90e1c9ba3378fe7ea04c0499ceb0fe1831293cc8
Author: Derek Herman <derek@…>
Date: Wed Jun 10 21:05:49 2015 -0700

remove type_label refs

commit 11319da25ae8255f75684c79851da099b4577f71
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 21:01:27 2015 -0700

Eliminate static getMenuItemDepth() in favor of dynamic getDepth()

commit 65a02f696363dca02e4a2eddbed3a07833b4e716
Author: Derek Herman <derek@…>
Date: Wed Jun 10 19:20:20 2015 -0700

live update menu item title

commit f89fd826825093e2c7ed32e8af83405ca2b620ad
Author: Derek Herman <derek@…>
Date: Wed Jun 10 19:02:21 2015 -0700

live update menu title everywhere

commit 8c3eebf988a27e29f9952c8dd206892993afa855
Author: Derek Herman <derek@…>
Date: Wed Jun 10 15:40:59 2015 -0700

fix search display

commit c474d4a14509676252c7b51fa788c5299de7d6b7
Author: Derek Herman <derek@…>
Date: Wed Jun 10 15:01:25 2015 -0700

reorder search CSS & collapse empty search content

commit 3c350dd8bc1c13e11e9e246e9feb683689bf0daa
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 11:38:52 2015 -0700

Ensure type labels are used from those exported from PHP

commit 9ee1234374316e6b7ff5b70ea4c87e9c6f58e26a
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 11:38:18 2015 -0700

Update item searching to use new settings; use wp.ajax.post

commit 6751a23ec2079e74b5f07ed7c32a62daef5eefa5
Author: Weston Ruter <weston@…>
Date: Wed Jun 10 00:51:08 2015 -0700

Fix labels for items

commit bcdc3cedb36b62ed431a0458f1bc405e50850dd6
Author: Nick Halsey <info@…>
Date: Wed Jun 10 00:01:25 2015 -0700

Re-remove the "sub item" label

commit 830c2e728ef4189ee54ea51d388649a91ac1fdb7
Author: Nick Halsey <info@…>
Date: Tue Jun 9 23:51:44 2015 -0700

Remove absurd, no longer used, CSS selector


Note: we need to figure out a solution here to address the accessibility
of the placeholder text.

commit 69c3c507888b6dd1d9d626f8d185a600da00dfc6
Author: Nick Halsey <info@…>
Date: Tue Jun 9 23:49:42 2015 -0700

Fix menu name margins

commit aea46f5601c7ef557b2707f8e8a2fc407a2a7008
Author: Nick Halsey <info@…>
Date: Tue Jun 9 23:43:53 2015 -0700

Note CSS selectors that likely need updating


(due to customizer object types being renamed, primarily)

commit 2de2de230eec8db7a47097dfb3fedd9ffbe936af
Author: Nick Halsey <info@…>
Date: Tue Jun 9 23:31:44 2015 -0700

Change "Add Links" button label to "Add Items"

commit 4d6a9a7a77abed09c8d9285d823fcc21c860d080
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 23:33:20 2015 -0700

Prevent Customizer from entering dirty state when removing placeholder setting

commit b4f41d841ea68d98bd7cb1d0102797b55adba14a
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 23:02:16 2015 -0700

Replace placeholder menu items with saved menu items

commit d3a77cbb29d1870278c903b0393ef0ddae7d4cb6
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 17:35:15 2015 -0700

Add elements for target, classes, xfn, and description

commit a6aa1d18ec49ddd837d0807fb6eaada35922b6c2
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 16:37:26 2015 -0700

Restore addItemToMenu(), now all without Ajax

commit 4214458a748e35201700d3aa6ecdd3faabfc1272
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 16:32:39 2015 -0700

Update priorities in addition to positions when sortstop happens

commit f7a67e224ca71fb3bcaee4a3a9a34c0233083e5a
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 16:32:15 2015 -0700

Fix previewing of newly-added menu items

commit 5e4d149d9428d13b6b13acceb82b418dfb499629
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 16:16:35 2015 -0700

Account for when classes is a string; throw error for invalid setting ID

commit b87afdab20ec4b1023b55d7f9d5d4b3499ccfcca
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 16:15:54 2015 -0700

Export default setting values for nav_menu and nav_menu_item

commit 8fc905cb740886b2376a576079a3c9c018bfdfdd
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 16:12:17 2015 -0700

Fix filtering of dynamic settings class

commit c482f6ece363b53189d70d288c02348906289887
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 14:44:25 2015 -0700

Introduce generatePlaceholderAutoIncrementId(); merge exported data

commit d6f4c1088e0cd6701cf90a7a50b2badd421352ae
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 14:12:17 2015 -0700

Remove obsolete Previewer instance capturing

commit 2720329b00196cda5e3423bbcab629cb1420f493
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 14:11:20 2015 -0700

Remove short-circuit if customize-controls wasn't added as dependency

commit b91bc930eddbb0301e79c8049a89515333ceeb7c
Author: Derek Herman <derek@…>
Date: Tue Jun 9 16:06:59 2015 -0700

fix sub menu sort styles

commit ab005b5ba59bafd2e289a7dc4a7ab4b98305765e
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 13:41:20 2015 -0700

Update item addition pane to work with new settings

commit 1acd2259045f110b487a7a71dd74658fe385356c
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 13:38:17 2015 -0700

Remove more unused Backbone models

commit 27b69eebcfb3a0f8c65e065d7f06afd53cea9d7c
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 13:15:23 2015 -0700

Remove unused MenuItemModel

commit 02fdea701f84a786b7f1575e6dde973465f647db
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 12:23:09 2015 -0700

Remove classes that have been duplicated/added to separate files

commit 47333c7504af4e6888ced22267be5e5a4b58772d
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 01:30:56 2015 -0700

Fix unit tests

commit 30ab579345fb3aa080f3c7c94f3051abf28f28de
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 01:17:08 2015 -0700

Enable previewing of submenus

commit 6d22ab5d755d53a63a5015299b430a28af1ad6d8
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 00:46:40 2015 -0700

Implement previewing of changing an item's parent

commit c5e384e1682d3d64bc236c3d1e1e67b2221afe2b
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 00:24:48 2015 -0700

Implement preview of re-sorting elements (sans depth)

commit 83e308095b526aefab6a45a5e0681c2de2683800
Author: Weston Ruter <weston@…>
Date: Tue Jun 9 00:10:26 2015 -0700

Debounce requests to partial-refresh menus

commit 9b38086479b3aa3b1398a2ac485deab621b7e7ef
Author: Weston Ruter <weston@…>
Date: Mon Jun 8 23:31:43 2015 -0700

Fix toggling menu-item form

commit 08500800aae2ecb5ccee50e74d088076f2af63b2
Author: Weston Ruter <weston@…>
Date: Mon Jun 8 23:28:48 2015 -0700

Update MenuControl.getMenuItemControls() to iterate items

commit c3bf2e70b107f5bfd689369051405bc83b6cc5b1
Merge: c6ab1e6 125e481
Author: Weston Ruter <weston@…>
Date: Mon Jun 8 22:54:08 2015 -0700

Merge branch 'feature/sub-menus-2' of https://github.com/voldemortensen/menu-customizer into feature/issue-67


Conflicts:

menu-customizer.js

commit c6ab1e686cb11ecfb92b21738e5343e2c9d2b046
Author: Weston Ruter <weston@…>
Date: Mon Jun 8 20:03:19 2015 -0700

Throw errors where we need to do more work

commit dedd1fd30a38914f96ccc00f1ff06fc8e6643c49
Author: Weston Ruter <weston@…>
Date: Mon Jun 8 19:48:04 2015 -0700

Integrate nav_menu_locations[x] setting with other elements; update UI when changes

commit c4b6df46e8c8d4c6dcedf42eddeb487e96c50eda
Author: Weston Ruter <weston@…>
Date: Mon Jun 8 01:03:44 2015 -0700

Restore theme locations section; update preview when selected menu changes

commit 1dc323ce7a67a502cf75fe9e7c5920a562669cfc
Author: Weston Ruter <weston@…>
Date: Mon Jun 8 00:03:47 2015 -0700

Implement deletion by setting nav_menu to false

commit aeb2d45b08af824cc14286350fd99a867dd5bfea
Author: Weston Ruter <weston@…>
Date: Mon Jun 8 00:03:04 2015 -0700

Allow wp_nav_menu fallback_cb as string to be serialized

commit 6ea0961498dc297b0a2facffce6af4e1a350d159
Author: Weston Ruter <weston@…>
Date: Sun Jun 7 22:42:25 2015 -0700

Fix persisting of auto_add setting property

commit 9b68eb4eb9b5101019dac505c78251b11c831844
Author: Weston Ruter <weston@…>
Date: Sun Jun 7 22:25:24 2015 -0700

Use wp.customize.Element to set initial values; not Underscore template

commit 125e481f8596bed7156b902f73c65ec1ac3f9c53
Author: Adam Silverstein <adam@…>
Date: Sun Jun 7 08:57:25 2015 -0600

Don't redefine api.

commit f2e5f94db100698e831a295a61ed2265ec65cae5
Author: Adam Silverstein <adam@…>
Date: Sun Jun 7 08:50:22 2015 -0600

Add db data field back

commit e54c393fabcd5cad92d2b60cb3693d0d596d15ad
Author: Adam Silverstein <adam@…>
Date: Sun Jun 7 08:49:25 2015 -0600

Remove unused wrapper div

commit ab9c04c294d1787cdabc13cd4712e588cdd7941d
Author: Adam Silverstein <adam@…>
Date: Sun Jun 7 08:49:06 2015 -0600

Removed unused wrapper div that interferes with drag & drop

commit 286972035d1fc80fbb79edb16c0d1413eba9b165
Author: Adam Silverstein <adam@…>
Date: Sun Jun 7 08:10:48 2015 -0600

Add missing var

commit 41afb340f0d4c8f0e8bec9f4913a7c1ce7a6749c
Author: Adam Silverstein <adam@…>
Date: Sun Jun 7 08:01:49 2015 -0600

Cherry pick merge from feature/sub-menus

commit d5f14a28fbe450ff15c4a60afaeea8570e7cc456
Author: Adam Silverstein <adam@…>
Date: Sun Jun 7 07:59:48 2015 -0600

CSS updates for submenus

commit 878d7a625d7600b026ce3f35c2f51e11a67776ad
Author: Adam Silverstein <adam@…>
Date: Sun Jun 7 07:59:17 2015 -0600

Enqueue nav-menu

commit 348b10864bd2af6c21a41f8fae33ef61e7873684
Author: Weston Ruter <weston@…>
Date: Sun Jun 7 00:34:54 2015 -0700

WIP Begin to integrate new settings into plugin

commit a978befe5d5078ce444887161d6b51058fbc3e00
Author: Weston Ruter <weston@…>
Date: Sun Jun 7 00:32:31 2015 -0700

Update Customizer preview to account for new setting types

commit 5f11d92070c9f469603c3e204a59a8a3015393e3
Author: Weston Ruter <weston@…>
Date: Sun Jun 7 00:29:25 2015 -0700

Fork classes into separate files

commit 18f8461b25e5385878a5af1676e79e4903d639b6
Author: Derek Herman <derek@…>
Date: Sat Jun 6 20:01:25 2015 -0700

fix whitespace

commit 7fe972e0a84b702b34ab92ffc2614b5cfb83323d
Merge: 932beaa 723de6b
Author: Derek Herman <derek@…>
Date: Sat Jun 6 19:58:56 2015 -0700

merge master

commit 932beaaf13ad0fcc75dd61606d8e19df50bd0b9b
Author: Weston Ruter <weston@…>
Date: Sat Jun 6 08:58:17 2015 -0700

Add constants for nav_menu and nav_menu_item class types

commit c70793e1f5f3886e21e917d462f2164bdfc768fb
Author: Weston Ruter <weston@…>
Date: Sat Jun 6 08:57:10 2015 -0700

Implement dynamic settings properly

commit 613eb75700514d6590d4e3f4e84856c00b48649c
Author: Weston Ruter <weston@…>
Date: Fri Jun 5 22:11:49 2015 -0700

Add unit test for saving a deleted menu

commit 8ec24e395332078cc8bfc742b33a2e8d24906b74
Author: Weston Ruter <weston@…>
Date: Fri Jun 5 22:09:58 2015 -0700

Add unit test for saving new menu item; improve test for updating

commit 80797fed538f0db76e6b0b3b33d847ee3a4d8130
Author: Weston Ruter <weston@…>
Date: Thu Jun 4 17:37:23 2015 -0700

Add unit test for Nav_Menu_Item::save() for update

commit c2791f5e562a6b21aca52ed284c1c21ecd4cbd61
Author: Weston Ruter <weston@…>
Date: Thu Jun 4 17:20:58 2015 -0700

Improve Nav_Menu_Item sanitization and add unit test

commit 67d03c60947ab454c230ecc6e0443db4d6516b3d
Author: Weston Ruter <weston@…>
Date: Thu Jun 4 17:01:24 2015 -0700

Add unit test for previewing nav menu item deletion

commit 64d0c6b9feb2a4046a20b803a99c298f5ac477cf
Author: Weston Ruter <weston@…>
Date: Thu Jun 4 16:57:43 2015 -0700

Add unit test for previewing nav_menu_item insertion

commit 03fb57a237da1a67a4e60e57e42040c239ec7eb3
Author: Weston Ruter <weston@…>
Date: Thu Jun 4 16:16:36 2015 -0700

Add previewing for changes to nav_menu_items via wp_get_nav_menu_items filter

commit e796437bafec291c054400371f9bf0fc1d9aaa96
Author: Weston Ruter <weston@…>
Date: Thu Jun 4 13:38:20 2015 -0700

Include nav_menu_term_id in nav_menu_item value()

commit e9abefaf7ea4acd334d377a6166014153463fb28
Author: Weston Ruter <weston@…>
Date: Thu Jun 4 13:19:40 2015 -0700

Add auto_add property to Menu setting, with preview() and update() support; tests

commit 565d3da45b82f51437a433a60d4d8b8c2f10a6d2
Merge: e68a57b c190142
Author: Weston Ruter <weston@…>
Date: Thu Jun 4 00:11:43 2015 -0700

Merge branch 'master' into feature/issue-67

commit e68a57bf00dac29e6322fd0c812d4284b64a0f6a
Author: Weston Ruter <weston@…>
Date: Thu Jun 4 00:11:04 2015 -0700

Add initial WP_Customize_Nav_Menu_Item_Setting with partial tests

commit f26a15d23a47583b14eb783f17032b4daee27127
Author: Weston Ruter <weston@…>
Date: Wed Jun 3 16:22:20 2015 -0700

Require classes in customize_register action

commit 27dbf0d2baf47aa096f925e4ef6f0c30f28435f3
Author: Weston Ruter <weston@…>
Date: Wed Jun 3 13:54:06 2015 -0700

Fix handling of menu deletion; add unit test for delete update()

commit 1b3b85c51aad83ad4896dce8113209ae8eb49978
Author: Weston Ruter <weston@…>
Date: Wed Jun 3 12:54:29 2015 -0700

Add unit test for menu insertion

commit 838336c483c74b722f2a31993086aba9c6968f85
Author: Weston Ruter <weston@…>
Date: Wed Jun 3 12:37:54 2015 -0700

Add support for previewing nav_menu deletion

commit 79a333b84720a91fe1529d6f63b32b284585ba5c
Author: Weston Ruter <weston@…>
Date: Wed Jun 3 11:54:37 2015 -0700

Add unit test for inserted menu

commit 7365cc8b1e7244786adbb08888a2ce5f4f81c77b
Author: Weston Ruter <weston@…>
Date: Wed Jun 3 11:45:10 2015 -0700

Implement previewing of nav_menu value changes via pre_get_term filter

commit 2309fdb04e101e4c008db0521af2df6206221acd
Author: Weston Ruter <weston@…>
Date: Wed Jun 3 11:43:01 2015 -0700

Use wp_get_nav_menu_object() instead of get_term_by()

commit 9421308f4c7544c60e77838c65e1801d6ab4aedd
Author: Weston Ruter <weston@…>
Date: Wed Jun 3 00:08:31 2015 -0700

Fix extraction of WP Core tarball

commit e199884386dfe989ae26ee7a9a929b2f1029f68b
Author: Weston Ruter <weston@…>
Date: Wed Jun 3 00:03:59 2015 -0700

Make unit tests use feature branch of develop.git.wordpress.org from https://github.com/xwp/wordpress-develop/pull/91

commit b5fc0b9db18a9e003af64c0e34d830b1957f65f6
Author: Weston Ruter <weston@…>
Date: Tue Jun 2 23:44:36 2015 -0700

Update wp-dev-lib 9ae7dbe...2915ac0: Make phpunit-plugin-bootstrap compatible with PHP 5.2


https://github.com/xwp/wp-dev-lib/compare/9ae7dbe...2915ac0

commit 735b5ef2f7600a6cee5e73bbdd7ddd9e72c3516b
Author: Weston Ruter <weston@…>
Date: Tue Jun 2 23:39:08 2015 -0700

Add unit tests for WP_Customize_Nav_Menu_Setting

commit 24aeb73bb064fd5aa42a120f7117ce9e6c549380
Author: Weston Ruter <weston@…>
Date: Tue Jun 2 23:38:38 2015 -0700

Add sanitize() method; improve value() and preview() methods

commit bbb26ef98ce755dfc027dcad48b909ecbb31be64
Author: Weston Ruter <weston@…>
Date: Tue Jun 2 20:50:56 2015 -0700

Store WP_Customize_Menus instance in WP_Customize_Manager::$menus

commit ab764aa37a13cae8fad5b25dee9f752b723c49a8
Author: Weston Ruter <weston@…>
Date: Tue Jun 2 19:43:14 2015 -0700

Restrict Travis to master branch; use WP trunk (for unit tests)

commit 16f935bf12067c1e5c1879bb8b70642b1882be4e
Author: Weston Ruter <weston@…>
Date: Tue Jun 2 19:42:30 2015 -0700

Update wp-dev-lib 2875eff...9ae7dbe: Fix path to plugins


https://github.com/xwp/wp-dev-lib/compare/2875eff...9ae7dbe


e1dc2e1 Add install-wp-tests.sh from WP-CLI
225e3f1 Download all of phpunit tests, not just includes
e50dcd0 Update location of wp-tests-config.php
5a1aeca Add support for WP_VERSION=trunk; get data from SVN
f1de164 Remove directory before SVN exports to it
9ae7dbe Fix path to plugins

commit 68a909918fe90e494e8655915ce821bfc7c226f1
Author: Weston Ruter <weston@…>
Date: Tue Jun 2 19:39:32 2015 -0700

Use LIMIT_TRAVIS_PR_CHECK_SCOPE=patches

commit 5b4611c884fcacdcfa7467a30e1d21bfc50c417d
Author: Weston Ruter <weston@…>
Date: Tue Jun 2 19:39:00 2015 -0700

Add initial WP_Customize_Nav_Menu_Setting

Synced from git://github.com/voldemortensen/menu-customizer.git

Note: See TracTickets for help on using tickets.