PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
plugins
/
wordpress-seo
/
admin
<?php /** * WPSEO plugin file. * * @package WPSEO\Admin\Bulk Editor * @since 1.5.0 */ /** * Implements table for bulk title editing. */ class WPSEO_Bulk_Title_Editor_List_Table extends WPSEO_Bulk_List_Table { /** * Current type for this class will be title. * * @var string */ protected $page_type = 'title'; /** * Settings with are used in __construct. * * @var array */ protected $settings = [ 'singular' => 'wpseo_bulk_title', 'plural' => 'wpseo_bulk_titles', 'ajax' => true, ]; /** * The field in the database where meta field is saved. * * @var string */ protected $target_db_field = 'title'; /** * The columns shown on the table. * * @return array */ public function get_columns() { $columns = [ /* translators: %1$s expands to Yoast SEO */ 'col_existing_yoast_seo_title' => sprintf( __( 'Existing %1$s Title', 'wordpress-seo' ), 'Yoast SEO' ), /* translators: %1$s expands to Yoast SEO */ 'col_new_yoast_seo_title' => sprintf( __( 'New %1$s Title', 'wordpress-seo' ), 'Yoast SEO' ), ]; return $this->merge_columns( $columns ); } /** * Parse the title columns. * * @param string $column_name Column name. * @param object $record Data object. * @param string $attributes HTML attributes. * * @return string */ protected function parse_page_specific_column( $column_name, $record, $attributes ) { // Fill meta data if exists in $this->meta_data. $meta_data = ( ! empty( $this->meta_data[ $record->ID ] ) ) ? $this->meta_data[ $record->ID ] : []; switch ( $column_name ) { case 'col_existing_yoast_seo_title': // @todo Inconsistent return/echo behavior R. // I traced the escaping of the attributes to WPSEO_Bulk_List_Table::column_attributes. // The output of WPSEO_Bulk_List_Table::parse_meta_data_field is properly escaped. // phpcs:ignore WordPress.Security.EscapeOutput echo $this->parse_meta_data_field( $record->ID, $attributes ); break; case 'col_new_yoast_seo_title': return sprintf( '<input type="text" id="%1$s" name="%1$s" class="wpseo-new-title" data-id="%2$s" aria-labelledby="col_new_yoast_seo_title" />', 'wpseo-new-title-' . $record->ID, $record->ID ); } unset( $meta_data ); } }
[-] class-yoast-form.php
[edit]
[-] class-expose-shortlinks.php
[edit]
[+]
ajax
[-] class-admin.php
[edit]
[-] class-collector.php
[edit]
[-] class-yoast-notification-center.php
[edit]
[+]
tracking
[+]
watchers
[-] class-suggested-plugins.php
[edit]
[-] class-plugin-conflict.php
[edit]
[-] class-admin-asset-location.php
[edit]
[-] class-export.php
[edit]
[-] class-admin-recommended-replace-vars.php
[edit]
[-] ajax.php
[edit]
[+]
services
[-] class-bulk-editor-list-table.php
[edit]
[-] class-yoast-notification.php
[edit]
[+]
notifiers
[-] interface-installable.php
[edit]
[-] class-admin-gutenberg-compatibility-notification.php
[edit]
[-] class-remote-request.php
[edit]
[-] class-paper-presenter.php
[edit]
[-] class-meta-columns.php
[edit]
[-] index.php
[edit]
[+]
metabox
[-] class-yoast-plugin-conflict.php
[edit]
[+]
pages
[-] class-admin-asset-dev-server-location.php
[edit]
[+]
taxonomy
[-] class-asset.php
[edit]
[-] class-my-yoast-proxy.php
[edit]
[-] class-admin-init.php
[edit]
[+]
google_search_console
[-] class-bulk-title-editor-list-table.php
[edit]
[-] class-gutenberg-compatibility.php
[edit]
[-] class-premium-popup.php
[edit]
[+]
listeners
[-] class-yoast-network-settings-api.php
[edit]
[+]
roles
[-] class-admin-asset-analysis-worker-location.php
[edit]
[+]
formatter
[-] class-option-tabs.php
[edit]
[-] class-wincher-dashboard-widget.php
[edit]
[-] class-yoast-notifications.php
[edit]
[-] class-option-tab.php
[edit]
[-] class-schema-person-upgrade-notification.php
[edit]
[+]
capabilities
[-] class-product-upsell-notice.php
[edit]
[-] class-yoast-dashboard-widget.php
[edit]
[-] class-admin-asset-manager.php
[edit]
[-] class-config.php
[edit]
[-] admin-settings-changed-listener.php
[edit]
[-] class-premium-upsell-admin-block.php
[edit]
[-] class-admin-help-panel.php
[edit]
[-] class-option-tabs-formatter.php
[edit]
[-] class-admin-utils.php
[edit]
[-] class-yoast-input-validation.php
[edit]
[+]
menu
[+]
import
[+]
filters
[-] class-plugin-availability.php
[edit]
[+]
endpoints
[-] class-bulk-description-editor-list-table.php
[edit]
[-] interface-collection.php
[edit]
[+]
..
[-] class-yoast-columns.php
[edit]
[-] class-yoast-network-admin.php
[edit]
[-] class-admin-asset-seo-location.php
[edit]
[-] class-admin-user-profile.php
[edit]
[-] class-database-proxy.php
[edit]
[+]
exceptions
[-] class-primary-term-admin.php
[edit]
[-] class-admin-editor-specific-replace-vars.php
[edit]
[+]
views
[+]
statistics