You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
esc_html__( 'Comma-separated list of post/page or custom post type IDs to be used as cornerstone posts. Posts with these IDs will be randomly selected and then included in the list of related posts. Roughly 20%% of the related posts will be chosen from this list. Learn more about %1$sCornerstone Posts%2$s.', 'contextual-related-posts' ),
@@ -1077,7 +1078,7 @@ public static function settings_feed() {
1077
1078
*/
1078
1079
publicstaticfunctionsettings_performance() {
1079
1080
$custom_tables_desc = sprintf(
1080
-
/* translators: 1: Opening a tag, 2: Closing a tag */
1081
+
/* translators: 1: Opening a tag, 2: Closing a tag */
1081
1082
esc_html__( 'Efficient Content Storage and Indexing (ECSI) creates a dedicated database table optimized for related content queries. This enhances performance, particularly on sites with a large number of posts or high traffic. To create the ECSI tables, visit the %1$sTools tab%2$s.', 'contextual-related-posts' ),
@@ -1173,7 +1174,7 @@ public static function settings_performance() {
1173
1174
/**
1174
1175
* Get the various styles.
1175
1176
*
1176
-
* @since 3.5.0
1177
+
* @since 3.5.0
1177
1178
* @return array Associative array of styles.
1178
1179
*/
1179
1180
publicstaticfunctionget_styles() {
@@ -1224,7 +1225,7 @@ public static function get_styles() {
1224
1225
/**
1225
1226
* Get the various order settings.
1226
1227
*
1227
-
* @since 3.5.0
1228
+
* @since 3.5.0
1228
1229
* @return array Order settings.
1229
1230
*/
1230
1231
publicstaticfunctionget_orderings() {
@@ -1250,7 +1251,7 @@ public static function get_orderings() {
1250
1251
*
1251
1252
* @since 3.5.0
1252
1253
*
1253
-
* @param array $links Array of links.
1254
+
* @param array $links Array of links.
1254
1255
* @return array
1255
1256
*/
1256
1257
publicfunctionplugin_actions_links( $links ) {
@@ -1268,8 +1269,8 @@ public function plugin_actions_links( $links ) {
1268
1269
*
1269
1270
* @since 3.5.0
1270
1271
*
1271
-
* @param array $links Array of Links.
1272
-
* @param string $file Current file.
1272
+
* @param array $links Array of Links.
1273
+
* @param string $file Current file.
1273
1274
* @return array
1274
1275
*/
1275
1276
publicfunctionplugin_row_meta( $links, $file ) {
@@ -1293,14 +1294,14 @@ public function plugin_row_meta( $links, $file ) {
1293
1294
*/
1294
1295
publicfunctionget_help_sidebar() {
1295
1296
$help_sidebar =
1296
-
/* translators: 1: Plugin support site link. */
1297
-
'<p>' . sprintf( __( 'For more information or how to get support visit the <a href="%s" target="_blank">support site</a>.', 'contextual-related-posts' ), esc_url( 'https://webberzone.com/support/' ) ) . '</p>' .
'<p>' . sprintf( __( 'For more information or how to get support visit the <a href="%s" target="_blank">support site</a>.', 'contextual-related-posts' ), esc_url( 'https://webberzone.com/support/' ) ) . '</p>' .
'<p>' . __( 'This screen provides some tools that help maintain certain features of Contextual Related Posts.', 'contextual-related-posts' ) . '</p>' .
1338
-
'<p>' . __( 'Clear the cache, recreate the fulltext indices (including code to manually run this in phpMyAdmin), export/import settings and delete the older settings.', 'contextual-related-posts' ) . '</p>' .
1339
-
'<p>' . sprintf(
1340
-
/* translators: 1: Link to Knowledge Base article. */
1341
-
__( 'You can find more information on each of these tools in this <a href="%1$s" target="_blank">knowledgebase article</a>.', 'contextual-related-posts' ),
'<p>' . __( 'Clear the cache, recreate the fulltext indices (including code to manually run this in phpMyAdmin), export/import settings and delete the older settings.', 'contextual-related-posts' ) . '</p>' .
1340
+
'<p>' . sprintf(
1341
+
/* translators: 1: Link to Knowledge Base article. */
1342
+
__( 'You can find more information on each of these tools in this <a href="%1$s" target="_blank">knowledgebase article</a>.', 'contextual-related-posts' ),
@@ -1361,7 +1362,7 @@ public function get_help_tabs() {
1361
1362
*/
1362
1363
publicstaticfunctionget_admin_footer_text() {
1363
1364
returnsprintf(
1364
-
/* translators: 1: Opening achor tag with Plugin page link, 2: Closing anchor tag, 3: Opening anchor tag with review link. */
1365
+
/* translators: 1: Opening achor tag with Plugin page link, 2: Closing anchor tag, 3: Opening anchor tag with review link. */
1365
1366
__( 'Thank you for using %1$sContextual Related Posts by WebberZone%2$s! Please %3$srate us%2$s on %3$sWordPress.org%2$s', 'contextual-related-posts' ),
@@ -1399,13 +1400,13 @@ public function change_settings_on_save( $settings ) {
1399
1400
$settings['post_thumb_op'] = 'inline';
1400
1401
}
1401
1402
1402
-
add_settings_error( self::prefix . '-notices', '', 'Note: Display of the author, excerpt and date has been disabled as the Thumbnail style is set to Rounded Thumbnails or Rounded Thumbnails with Grid. You can change the style in the Styles tab.', 'updated' );
1403
+
add_settings_error( self::$prefix . '-notices', '', 'Note: Display of the author, excerpt and date has been disabled as the Thumbnail style is set to Rounded Thumbnails or Rounded Thumbnails with Grid. You can change the style in the Styles tab.', 'updated' );
1403
1404
}
1404
1405
// Overwrite settings if text_only thumbnail style is selected.
1405
1406
if ( 'text_only' === $style ) {
1406
1407
$settings['post_thumb_op'] = 'text_only';
1407
1408
1408
-
add_settings_error( self::prefix . '-notices', '', 'Note: Thumbnail location set to Text Only as the Thumbnail style is set to Text Only. You can change the style in the Styles tab.', 'updated' );
1409
+
add_settings_error( self::$prefix . '-notices', '', 'Note: Thumbnail location set to Text Only as the Thumbnail style is set to Text Only. You can change the style in the Styles tab.', 'updated' );
1409
1410
}
1410
1411
1411
1412
// Force thumb_width and thumb_height if either are zero.
@@ -1534,13 +1535,15 @@ public static function tags_search() {
1534
1535
}
1535
1536
$s = trim( $s );
1536
1537
1537
-
/** This filter has been defined in /wp-admin/includes/ajax-actions.php */
1538
+
/**
1539
+
* This filter has been defined in /wp-admin/includes/ajax-actions.php
0 commit comments