Changeset 3402555
- Timestamp:
- 11/25/2025 01:11:22 PM (4 months ago)
- Location:
- squirrly-seo/tags/12.4.14
- Files:
-
- 2 edited
-
controllers/Ranking.php (modified) (3 diffs)
-
view/Ranking/Rankings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
squirrly-seo/tags/12.4.14/controllers/Ranking.php
r3260759 r3402555 76 76 $page = SQ_Classes_Helpers_Tools::getValue( 'spage', 1 ); 77 77 $num = SQ_Classes_Helpers_Tools::getValue( 'snum', SQ_Classes_Helpers_Tools::getOption( 'sq_posts_per_page' ) ); 78 $has_change = (int) SQ_Classes_Helpers_Tools::getValue( 'schanges', '' ); 79 $has_ranks = (int) SQ_Classes_Helpers_Tools::getValue( 'ranked', '' ); 78 80 79 81 $this->args = array( … … 85 87 'strict' => $strict, 86 88 'days_back' => $days_back, 87 'has_change' => '',88 'has_ranks' => '',89 'has_change' => $has_change, 90 'has_ranks' => $has_ranks, 89 91 ); 90 92 } … … 194 196 'strict' => $strict, 195 197 'days_back' => $days_back, 196 'has_change' => ( string) SQ_Classes_Helpers_Tools::getValue( 'schanges', '' ),197 'has_ranks' => ( string) SQ_Classes_Helpers_Tools::getValue( 'ranked', '' ),198 'has_change' => (int) SQ_Classes_Helpers_Tools::getValue( 'schanges', '' ), 199 'has_ranks' => (int) SQ_Classes_Helpers_Tools::getValue( 'ranked', '' ), 198 200 ); 199 201 -
squirrly-seo/tags/12.4.14/view/Ranking/Rankings.php
r3339738 r3402555 142 142 </h6> 143 143 <?php } ?> 144 <?php if ( isset( $view->info->new ) && (int) $view->info->new > 0 ) { ?> 145 <h6 class="col-12 px-0 text-success small"> 146 <i class="fa-solid fa-arrow-up" style="font-size: 9px !important;margin: 0 5px;vertical-align: middle;"></i><?php echo sprintf( esc_html__( "%s new keywords in TOP 100", 'squirrly-seo' ), '<strong>' . esc_html( $view->info->new ) . '</strong>' ); ?> 147 </h6> 148 <?php } ?> 144 149 <?php if ( isset ( $view->info->positive_changes ) && (int) $view->info->positive_changes > 0 ) { ?> 145 150 <h6 class="col-12 px-0 text-success small">
Note: See TracChangeset
for help on using the changeset viewer.