Skip to content
This repository was archived by the owner on May 2, 2018. It is now read-only.

Commit 3d5059b

Browse files
committed
no limit of post during scan
1 parent d5e5a87 commit 3d5059b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/class-glossary.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public function glossary_auto_link( $text ) {
233233
$this->g_arc_glossary() ||
234234
$this->g_tax_glossary()
235235
) {
236-
$gl_query = new WP_Query( array( 'post_type' => 'glossary', 'order' => 'ASC', 'orderby' => 'title' ) );
236+
$gl_query = new WP_Query( array( 'post_type' => 'glossary', 'order' => 'ASC', 'orderby' => 'title', 'posts_per_page' => -1 ) );
237237

238238
while ( $gl_query->have_posts() ) : $gl_query->the_post();
239239
$link = get_post_meta( get_the_ID(), $this->get_plugin_slug() . '_url', true );

0 commit comments

Comments
 (0)