Merged in feature/314-dev-dev01 (pull request #24)

auto-patch  314-dev-dev01-2024-01-25T04_09_02

* auto-patch  314-dev-dev01-2024-01-25T04_09_02
This commit is contained in:
Tony Volpe
2024-01-25 04:11:47 +00:00
parent 6b67473553
commit 68dbe860e9
540 changed files with 3445 additions and 2131 deletions

View File

@@ -223,7 +223,7 @@ class Meta_Surface {
$indexables = \array_filter( $indexables );
return \array_map(
function( $indexable ) {
function ( $indexable ) {
return $this->build_meta( $this->context_memoizer->get( $indexable, 'Post_Type' ) );
},
$indexables
@@ -293,7 +293,7 @@ class Meta_Surface {
* @return Meta|false The meta values. False if none could be found.
*/
public function for_indexables( $indexables, $page_type = null ) {
$closure = function( $indexable ) use ( $page_type ) {
$closure = function ( $indexable ) use ( $page_type ) {
$this_page_type = $page_type;
if ( \is_null( $this_page_type ) ) {
$this_page_type = $this->indexable_helper->get_page_type_for_indexable( $indexable );