Skip to content

Commit 92bc715

Browse files
committed
SimplePie: Deprecate set_item_limit method
This is no-op outside multi-feed mode, which has already been deprecated.
1 parent 48788f4 commit 92bc715

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased](https://github.com/simplepie/simplepie/compare/1.9.0...master)
99

10+
### Added
11+
1012
Nothing yet.
1113

14+
### Changed
15+
16+
Nothing yet.
17+
18+
### Fixed
19+
20+
Nothing yet.
21+
22+
### Deprecated
23+
24+
- `SimplePie\SimplePie::set_item_limit()` is deprecated since it only affects multi-feed mode, which has been deprecated in SimplePie 1.9 (by @jtojnar in [#954](https://github.com/simplepie/simplepie/pull/954))
25+
1226
## [1.9.0](https://github.com/simplepie/simplepie/compare/1.8.1...1.9.0) - 2025-09-12
1327

1428
### Added

src/SimplePie.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,6 +1614,8 @@ public function set_image_handler($page = false, string $qs = 'i')
16141614
/**
16151615
* Set the limit for items returned per-feed with multifeeds
16161616
*
1617+
* @deprecated since SimplePie 1.10.0, this does nothing outside multifeeds.
1618+
*
16171619
* @param int $limit The maximum number of items to return.
16181620
* @return void
16191621
*/

0 commit comments

Comments
 (0)