[wp-meta] [Making WordPress.org] #470: Add Infinite Scrolling to WordPress Events plugin
Making WordPress.org
noreply at wordpress.org
Wed Dec 31 08:16:49 UTC 2014
#470: Add Infinite Scrolling to WordPress Events plugin
-------------------------+-------------------------------------------------
Reporter: iandunn | Owner:
Type: | Status: new
enhancement | Component: make.wordpress.org / P2
Priority: normal | Keywords: needs-patch good-first-bug
Resolution: | reporter-feedback
-------------------------+-------------------------------------------------
Changes (by bansod_deven):
* cc: devenbansod.bits@… (added)
* keywords: needs-patch good-first-bug => needs-patch good-first-bug
reporter-feedback
Comment:
I went through the MeetUp API request we are making to get the MeetUp
Events in the function 'get_meetup_events()' on line 117.
In MeetUp API request, I guess we can remove 'page' argument and we will
be done.
But how do we add an option to change between some constant Results and
Infinite Results ?
What I had in mind was we can check if the 'POSTS_PER_PAGE' constant value
in 'official_wordpress_events.php' is '-1' then we can assume infinite
scrolling and if its a postive integer then we can take that value.
Suggest changes and I will then add the patch accordingly.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/470#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list