In `get_the_pagination()`, don't pass `$links` to `_navigation_markup()` if it is not a string - `paginate_links()` can return an `array`.

See #30224.


git-svn-id: https://develop.svn.wordpress.org/trunk@30166 602fd350-edb4-49c9-b593-d223f7449a82