Changeset 15179
- Timestamp:
- 09/10/2026 07:34:24 PM (2 months ago)
- Location:
- sites/trunk
- Files:
-
- 204 edited
-
browsehappy.com/public_html/functions.php (modified) (2 diffs)
-
browsehappy.com/public_html/index.php (modified) (5 diffs)
-
buddypress.org/public_html/wp-content/themes/bb-base/archive-forum.php (modified) (1 diff)
-
buddypress.org/public_html/wp-content/themes/bb-base/archive.php (modified) (2 diffs)
-
buddypress.org/public_html/wp-content/themes/bb-base/bbpress/feedback-search.php (modified) (1 diff)
-
buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic-merge.php (modified) (6 diffs)
-
buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic-split.php (modified) (6 diffs)
-
buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic.php (modified) (15 diffs)
-
buddypress.org/public_html/wp-content/themes/bb-base/bbpress/loop-forums.php (modified) (1 diff)
-
buddypress.org/public_html/wp-content/themes/bb-base/bbpress/loop-single-topic.php (modified) (1 diff)
-
buddypress.org/public_html/wp-content/themes/bb-base/buddypress/activity/index.php (modified) (9 diffs)
-
buddypress.org/public_html/wp-content/themes/bb-base/buddypress/members/single/profile/edit.php (modified) (11 diffs)
-
buddypress.org/public_html/wp-content/themes/bb-base/footer.php (modified) (2 diffs)
-
buddypress.org/public_html/wp-content/themes/bb-base/functions.php (modified) (9 diffs)
-
buddypress.org/public_html/wp-content/themes/bb-base/header-accessibility.php (modified) (1 diff)
-
buddypress.org/public_html/wp-content/themes/bb-base/image.php (modified) (3 diffs)
-
buddypress.org/public_html/wp-content/themes/bb-base/index.php (modified) (2 diffs)
-
buddypress.org/public_html/wp-content/themes/bb-base/page-homepage.php (modified) (1 diff)
-
buddypress.org/public_html/wp-content/themes/bb-base/sidebar.php (modified) (10 diffs)
-
buddypress.org/public_html/wp-content/themes/bb-base/single.php (modified) (2 diffs)
-
buddypress.org/public_html/wp-content/themes/bbpress-org/bbpress/form-topic.php (modified) (15 diffs)
-
buddypress.org/public_html/wp-content/themes/bbpress-org/header-front.php (modified) (2 diffs)
-
buddypress.org/public_html/wp-content/themes/bbpress-org/page-plugins.php (modified) (3 diffs)
-
buddypress.org/public_html/wp-content/themes/bbpress-org/sidebar.php (modified) (9 diffs)
-
buddypress.org/public_html/wp-content/themes/bporg-developer/header.php (modified) (2 diffs)
-
buddypress.org/public_html/wp-content/themes/bporg-developer/page-reference-landing.php (modified) (4 diffs)
-
buddypress.org/public_html/wp-content/themes/bporg-developer/reference/template-source.php (modified) (2 diffs)
-
buddypress.org/public_html/wp-content/themes/buddypress-org/bbpress/form-topic.php (modified) (15 diffs)
-
buddypress.org/public_html/wp-content/themes/buddypress-org/footer.php (modified) (2 diffs)
-
buddypress.org/public_html/wp-content/themes/buddypress-org/header-front.php (modified) (2 diffs)
-
buddypress.org/public_html/wp-content/themes/buddypress-org/header-nav.php (modified) (1 diff)
-
buddypress.org/public_html/wp-content/themes/buddypress-org/sidebar.php (modified) (9 diffs)
-
buddypress.org/public_html/wp-content/themes/codex-bbpress-org/footer.php (modified) (1 diff)
-
buddypress.org/public_html/wp-content/themes/codex-bbpress-org/index.php (modified) (2 diffs)
-
buddypress.org/public_html/wp-content/themes/codex-buddypress-org/activity-entry.php (modified) (5 diffs)
-
buddypress.org/public_html/wp-content/themes/codex-buddypress-org/footer.php (modified) (1 diff)
-
buddypress.org/public_html/wp-content/themes/codex-buddypress-org/header-nav.php (modified) (1 diff)
-
buddypress.org/public_html/wp-content/themes/codex-buddypress-org/index.php (modified) (2 diffs)
-
buddypress.org/public_html/wp-content/themes/codex-buddypress-org/widgets/inbox.php (modified) (2 diffs)
-
buddypress.org/public_html/wp-content/themes/codex-buddypress-org/widgets/login.php (modified) (3 diffs)
-
global.wordpress.org/public_html/wp-content/mu-plugins/downloads/rosetta-downloads.php (modified) (4 diffs)
-
global.wordpress.org/public_html/wp-content/mu-plugins/roles/class-translation-editors-list-table.php (modified) (3 diffs)
-
global.wordpress.org/public_html/wp-content/mu-plugins/roles/views/cross-locale-pte.php (modified) (2 diffs)
-
global.wordpress.org/public_html/wp-content/mu-plugins/roles/views/edit-cross-locale-pte.php (modified) (3 diffs)
-
global.wordpress.org/public_html/wp-content/mu-plugins/roles/views/edit-translation-editor.php (modified) (3 diffs)
-
global.wordpress.org/public_html/wp-content/mu-plugins/roles/views/translation-editors.php (modified) (2 diffs)
-
global.wordpress.org/public_html/wp-content/mu-plugins/showcase/rosetta-showcase.php (modified) (1 diff)
-
global.wordpress.org/public_html/wp-content/themes/rosetta/404.php (modified) (2 diffs)
-
global.wordpress.org/public_html/wp-content/themes/rosetta/archive.php (modified) (5 diffs)
-
global.wordpress.org/public_html/wp-content/themes/rosetta/comments.php (modified) (4 diffs)
-
global.wordpress.org/public_html/wp-content/themes/rosetta/contact.php (modified) (13 diffs)
-
global.wordpress.org/public_html/wp-content/themes/rosetta/download.php (modified) (4 diffs)
-
global.wordpress.org/public_html/wp-content/themes/rosetta/front-page.php (modified) (4 diffs)
-
global.wordpress.org/public_html/wp-content/themes/rosetta/functions.php (modified) (1 diff)
-
global.wordpress.org/public_html/wp-content/themes/rosetta/inc/template-tags.php (modified) (3 diffs)
-
global.wordpress.org/public_html/wp-content/themes/rosetta/index.php (modified) (1 diff)
-
global.wordpress.org/public_html/wp-content/themes/rosetta/sidebar-blog.php (modified) (1 diff)
-
global.wordpress.org/public_html/wp-content/themes/rosetta/sidebar-page.php (modified) (2 diffs)
-
global.wordpress.org/public_html/wp-content/themes/rosetta/single.php (modified) (1 diff)
-
jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp-captcha.php (modified) (1 diff)
-
jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp-moderation.php (modified) (1 diff)
-
jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp-template.php (modified) (3 diffs)
-
jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp.php (modified) (5 diffs)
-
jobs.wordpress.net/public_html/wp-content/themes/jobswp/content-list.php (modified) (2 diffs)
-
jobs.wordpress.net/public_html/wp-content/themes/jobswp/content-post-job-success.php (modified) (1 diff)
-
jobs.wordpress.net/public_html/wp-content/themes/jobswp/content-post-job.php (modified) (11 diffs)
-
jobs.wordpress.net/public_html/wp-content/themes/jobswp/inc/template-tags.php (modified) (5 diffs)
-
jobs.wordpress.net/public_html/wp-content/themes/jobswp/no-results.php (modified) (2 diffs)
-
jobs.wordpress.net/public_html/wp-content/themes/jobswp/page-remove-a-job.php (modified) (2 diffs)
-
jobs.wordpress.net/public_html/wp-content/themes/jobswp/searchform.php (modified) (1 diff)
-
jobs.wordpress.net/public_html/wp-content/themes/jobswp/sidebar.php (modified) (1 diff)
-
phpcs.xml.dist (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/handbook/inc/admin-notices.php (modified) (4 diffs)
-
wordpress.org/public_html/wp-content/plugins/handbook/inc/handbook.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/handbook/inc/navigation.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/handbook/inc/watchlist.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/handbook/inc/widgets.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/photo-directory/inc/admin.php (modified) (15 diffs)
-
wordpress.org/public_html/wp-content/plugins/photo-directory/inc/flagged.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/plugins/photo-directory/inc/moderation.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/photo-directory/inc/rejection.php (modified) (7 diffs)
-
wordpress.org/public_html/wp-content/plugins/photo-directory/inc/settings.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php (modified) (5 diffs)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-status-transitions.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/list-table/class-committers.php (modified) (3 diffs)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/list-table/class-plugin-posts.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/list-table/class-support-reps.php (modified) (3 diffs)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-author-card.php (modified) (10 diffs)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-author.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-controls.php (modified) (7 diffs)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-internal-notes.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-review-tools.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/tools/class-author-cards.php (modified) (3 diffs)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/tools/class-stats-report.php (modified) (24 diffs)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/tools/class-upload-token.php (modified) (4 diffs)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-plugin.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-block-validator.php (modified) (12 diffs)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-readme-validator.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-release-confirmation.php (modified) (12 diffs)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-reviews.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload.php (modified) (19 diffs)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-adopt-me.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-committers.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-donate.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-meta.php (modified) (10 diffs)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-support-reps.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-support.php (modified) (3 diffs)
-
wordpress.org/public_html/wp-content/plugins/rosetta/inc/admin/network/class-locale-associations-view.php (modified) (12 diffs)
-
wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-blocks.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-hooks.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-moderators.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-nsfw-handler.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-ratings-compat.php (modified) (11 diffs)
-
wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-report-topic.php (modified) (8 diffs)
-
wordpress.org/public_html/wp-content/plugins/theme-directory/admin-edit.php (modified) (5 diffs)
-
wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/theme-directory/theme-directory.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-components.php (modified) (4 diffs)
-
wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/inc/locales.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/views/all-locales.php (modified) (6 diffs)
-
wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/views/locale-details.php (modified) (10 diffs)
-
wordpress.org/public_html/wp-content/plugins/wporg-bbp-also-viewing/wporg-bbp-also-viewing.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/wporg-bbp-topic-resolution/inc/class-plugin.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/helper-functions.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/index-locales.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/locale-project.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/locale-projects.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/project-form.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/project-mass-create-sets.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/projects-wp-plugins-contributors.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/projects-wp-themes-contributors.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/settings.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/stats-overview.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/translation-row-editor.php (modified) (8 diffs)
-
wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/translation-row-preview.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/translation-set-form.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/wporg-gp-discussions/inc/class-plugin.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/plugins/wporg-gp-rosetta-roles/inc/admin/class-translators.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/plugins/wporg-gp-rosetta-roles/inc/admin/list-table/class-translators.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/plugins/wporg-meeting-posttype/wporg-meeting-posttype.php (modified) (3 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/functions.php (modified) (4 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/search.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/searchform.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/single-handbook.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-login/backup-codes.php (modified) (3 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-login/checkemail.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-login/enable-2fa.php (modified) (3 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions-registration.php (modified) (3 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-login/linkexpired.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-login/loggedout.php (modified) (3 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-login/login.php (modified) (3 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-login/logout.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-login/lostpassword.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-login/partials/register-profilefields.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-login/pending-create.php (modified) (6 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-login/pending-profile.php (modified) (4 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-login/register.php (modified) (5 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-login/updated-tos.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php (modified) (17 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-download-beta-nightly.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-download.php (modified) (3 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/inc/template-tags.php (modified) (19 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/patterns/page-add.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/404.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/archive.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/comments.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/functions.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/index.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-home.php (modified) (5 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-submit.php (modified) (3 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/sidebar-left.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/404.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/archive-forum.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/content-single-forum.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/feedback-no-search.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/feedback-no-topics.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/feedback-search.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/form-reply.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/form-topic-merge.php (modified) (7 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/form-topic-split.php (modified) (7 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/form-topic.php (modified) (15 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/form-user-edit.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/loop-forums-homepage.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/loop-forums.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/loop-single-reply-topic.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/loop-single-topic.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/user-profile.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/user-subscriptions.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/functions.php (modified) (9 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/page-homepage.php (modified) (2 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/searchform.php (modified) (4 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/sidebar.php (modified) (4 diffs)
-
wordpress.org/public_html/wp-content/themes/pub/wporg/404.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg/inc/template-tags.php (modified) (1 diff)
-
wordpress.org/public_html/wp-content/themes/pub/wporg/template-parts/content-none.php (modified) (1 diff)
-
wordpress.tv/public_html/wp-content/themes/wptv2/404.php (modified) (2 diffs)
-
wordpress.tv/public_html/wp-content/themes/wptv2/archive.php (modified) (2 diffs)
-
wordpress.tv/public_html/wp-content/themes/wptv2/breadcrumbs.php (modified) (1 diff)
-
wordpress.tv/public_html/wp-content/themes/wptv2/comments.php (modified) (1 diff)
-
wordpress.tv/public_html/wp-content/themes/wptv2/functions.php (modified) (2 diffs)
-
wordpress.tv/public_html/wp-content/themes/wptv2/index.php (modified) (1 diff)
-
wordpress.tv/public_html/wp-content/themes/wptv2/upload-subtitles-template.php (modified) (4 diffs)
-
wp15.wordpress.net/public_html/content/mu-plugins/locales.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/browsehappy.com/public_html/functions.php
r13031 r15179 269 269 <?php if ( $results['name'] == 'Internet Explorer' && strpos( $ua, 'Windows NT 5.' ) !== false ) : ?> 270 270 <?php if ( $results['insecure'] ) : ?> 271 <p><?php printf( __( 'It looks like you’re using an insecure version of %s.', 'browsehappy' ), $results['name'] ); ?> 272 <?php _e( 'Using an outdated browser makes your computer unsafe.', 'browsehappy' ); ?> 271 <?php /* translators: %s: Browser name. */ ?> 272 <p><?php printf( esc_html__( 'It looks like you’re using an insecure version of %s.', 'browsehappy' ), esc_html( $results['name'] ) ); ?> 273 <?php esc_html_e( 'Using an outdated browser makes your computer unsafe.', 'browsehappy' ); ?> 273 274 <?php else : ?> 274 <p><?php _e( 'It looks like you’re using an old version of Internet Explorer.', 'browsehappy' ); ?>275 <p><?php esc_html_e( 'It looks like you’re using an old version of Internet Explorer.', 'browsehappy' ); ?> 275 276 <?php endif; ?> 276 <?php _e( 'On Windows XP, you are unable to update to the latest version. For the best experience on the web, we suggest you try a new browser.', 'browsehappy' ); ?></p>277 <?php esc_html_e( 'On Windows XP, you are unable to update to the latest version. For the best experience on the web, we suggest you try a new browser.', 'browsehappy' ); ?></p> 277 278 <?php elseif ( $results['insecure'] ) : ?> 278 <p class="browser-status-text"><?php printf( __( 'It looks like you’re using an insecure version of %s.', 'browsehappy' ), $results['name'] ); ?> 279 <?php _e( 'Using an outdated browser makes your computer unsafe.', 'browsehappy' ); ?> 280 <?php _e( 'For the best experience on the web, please update your browser.', 'browsehappy' ); ?></p> 281 <p class="browser-status-action"><a href="<?php echo esc_url( $results['update_url'] ); ?>"><?php _e( 'Upgrade now!', 'browsehappy' ); ?></a></p> 279 <?php /* translators: %s: Browser name. */ ?> 280 <p class="browser-status-text"><?php printf( esc_html__( 'It looks like you’re using an insecure version of %s.', 'browsehappy' ), esc_html( $results['name'] ) ); ?> 281 <?php esc_html_e( 'Using an outdated browser makes your computer unsafe.', 'browsehappy' ); ?> 282 <?php esc_html_e( 'For the best experience on the web, please update your browser.', 'browsehappy' ); ?></p> 283 <p class="browser-status-action"><a href="<?php echo esc_url( $results['update_url'] ); ?>"><?php esc_html_e( 'Upgrade now!', 'browsehappy' ); ?></a></p> 282 284 <?php else : ?> 283 <p class="browser-status-text"><?php printf( __( 'Your browser is out of date! It looks like you’re using an old version of %s.', 'browsehappy' ), $results['name'] ); ?> 284 <?php _e( 'For the best experience on the web, please update your browser.', 'browsehappy' ); ?></p> 285 <p class="browser-status-action"><a href="<?php echo esc_url( $results['update_url'] ); ?>"><?php _e( 'Upgrade now!', 'browsehappy' ); ?></a></p> 285 <?php /* translators: %s: Browser name. */ ?> 286 <p class="browser-status-text"><?php printf( esc_html__( 'Your browser is out of date! It looks like you’re using an old version of %s.', 'browsehappy' ), esc_html( $results['name'] ) ); ?> 287 <?php esc_html_e( 'For the best experience on the web, please update your browser.', 'browsehappy' ); ?></p> 288 <p class="browser-status-action"><a href="<?php echo esc_url( $results['update_url'] ); ?>"><?php esc_html_e( 'Upgrade now!', 'browsehappy' ); ?></a></p> 286 289 <?php endif; ?> 287 290 </div> … … 299 302 <p><?php 300 303 /* translators: "English" should be translated directly and not to the name of your language. */ 301 printf( __( 'Browse Happy is also available in English. <a href="%s">Click here to change the language to English</a>.', 'browsehappy'), '/?locale=en' );304 printf( wp_kses_post( __( 'Browse Happy is also available in English. <a href="%s">Click here to change the language to English</a>.', 'browsehappy' ) ), '/?locale=en' ); 302 305 ?></p> 303 306 </div> -
sites/trunk/browsehappy.com/public_html/index.php
r15170 r15179 16 16 <head> 17 17 <meta charset="utf-8"> 18 <title><?php _e( 'Browse Happy', 'browsehappy' ); ?></title>18 <title><?php esc_html_e( 'Browse Happy', 'browsehappy' ); ?></title> 19 19 <meta name="description" content="<?php esc_attr_e( 'Online. Worry-free. Upgrade your browser today!', 'browsehappy' ); ?>" /> 20 20 <meta name="author" content="WordPress" /> … … 35 35 <header> 36 36 <hgroup class="wrap"> 37 <h1><?php _e( 'Browse <em>Happy</em>', 'browsehappy'); ?></h1>38 <h2><?php _e( 'Online. Worry-free. <em>Upgrade your browser today</em>!', 'browsehappy'); ?></h2>37 <h1><?php echo wp_kses_post( __( 'Browse <em>Happy</em>', 'browsehappy' ) ); ?></h1> 38 <h2><?php echo wp_kses_post( __( 'Online. Worry-free. <em>Upgrade your browser today</em>!', 'browsehappy' ) ); ?></h2> 39 39 </hgroup> 40 40 </header> … … 48 48 <h2 lang="en"><?php echo $data->name; ?></h2> 49 49 <p class="info"><?php echo $data->info; ?></p> 50 <p class="version"><?php printf( __( 'Latest Version: %s', 'browsehappy' ), '<strong>' . apply_filters( 'get_browsehappy_version', $browser ) . '</strong>' ); ?></p> 51 <p class="website"><?php _e( 'Visit website for more info', 'browsehappy' ); ?></p> 50 <?php /* translators: %s: Browser version. */ ?> 51 <p class="version"><?php printf( esc_html__( 'Latest Version: %s', 'browsehappy' ), '<strong>' . esc_html( apply_filters( 'get_browsehappy_version', $browser ) ) . '</strong>' ); ?></p> 52 <p class="website"><?php esc_html_e( 'Visit website for more info', 'browsehappy' ); ?></p> 52 53 </a> 53 54 <?php do_action( 'browsehappy_browser_after', $browser ); ?> … … 60 61 <div class="wrap"> 61 62 <section id="about"> 62 <h2><?php _e( 'What is Browse Happy?', 'browsehappy' ); ?></h2>63 <h2><?php esc_html_e( 'What is Browse Happy?', 'browsehappy' ); ?></h2> 63 64 <p><?php $what = __( 'Using an outdated browser makes your computer unsafe. Browse Happy is a way for you to find out what are the latest versions of the major browsers around. You can also learn about alternative browsers that may fit you even better than the one you are currently using.', 'browsehappy' ); 64 65 echo $what; ?></p> 65 66 </section><!-- #about --> 66 67 <section id="share"> 67 <h2><?php _e( 'Share the Happiness', 'browsehappy' ); ?></h2>68 <h2><?php esc_html_e( 'Share the Happiness', 'browsehappy' ); ?></h2> 68 69 <nav> 69 70 <ul> … … 106 107 </section><!-- #share --> 107 108 <div id="byline"> 108 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'browsehappy' ) ); ?>" title="WordPress"><?php printf( __( 'Brought to you by %s', 'browsehappy' ), '<strong>WordPress</strong>' ); ?></a>109 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'browsehappy' ) ); ?>" title="WordPress"><?php printf( /* translators: %s: WordPress, in bold. */ esc_html__( 'Brought to you by %s', 'browsehappy' ), '<strong>WordPress</strong>' ); ?></a> 109 110 </div><!-- #byline --> 110 111 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/archive-forum.php
r14281 r15179 1 1 <?php get_header(); ?> 2 2 3 <h2 id="post-home"><?php _e( 'Support', 'bborg' ); ?></h2>3 <h2 id="post-home"><?php esc_html_e( 'Support', 'bborg' ); ?></h2> 4 4 5 5 <?php if ( 1 === bbp_get_paged() ) : // cached first page ?> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/archive.php
r14281 r15179 8 8 <cite> 9 9 <?php 10 /* translators: 1: post date, 2: post author */ 11 printf( __( 'Published on %1$s by %2$s', 'bborg' ), 12 get_the_time( 'F jS, Y' ), 13 get_the_author_link() 10 printf( 11 /* translators: 1: Publication date, 2: Author link. */ 12 esc_html__( 'Published on %1$s by %2$s', 'bborg' ), 13 esc_html( get_the_time( 'F jS, Y' ) ), 14 wp_kses_post( get_the_author_link() ) 14 15 ); 15 16 ?> … … 26 27 ) ); 27 28 else : ?> 28 <p><em><?php _e( 'Sorry, no posts matched your criteria.', 'bborg' ); ?></em></p>29 <p><em><?php esc_html_e( 'Sorry, no posts matched your criteria.', 'bborg' ); ?></em></p> 29 30 <?php endif; ?> 30 31 <hr class="hidden" /> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/feedback-search.php
r442 r15179 1 <?php 2 /** 3 * Notice shown when a forum search has no terms. 4 * 5 * @package bbPress 6 */ 7 8 ?> 1 9 <div class="bbp-template-notice"> 2 <p><?php _e( 'Please enter some search terms above', 'bbpress' ); ?></p>10 <p><?php esc_html_e( 'Please enter some search terms above', 'bbpress' ); ?></p> 3 11 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic-merge.php
r5044 r15179 22 22 <fieldset class="bbp-form"> 23 23 24 <legend><?php printf( __( 'Merge topic "%s"', 'bbpress' ), bbp_get_topic_title() ); ?></legend> 24 <?php /* translators: %s: Topic title. */ ?> 25 <legend><?php printf( esc_html__( 'Merge topic "%s"', 'bbpress' ), esc_html( bbp_get_topic_title() ) ); ?></legend> 25 26 26 27 <div> 27 28 28 29 <div class="bbp-template-notice info"> 29 <p><?php _e( 'Select the topic to merge this one into. The destination topic will remain the lead topic, and this one will change into a reply.', 'bbpress' ); ?></p>30 <p><?php _e( 'To keep this topic as the lead, go to the other topic and use the merge tool from there instead.', 'bbpress' ); ?></p>30 <p><?php esc_html_e( 'Select the topic to merge this one into. The destination topic will remain the lead topic, and this one will change into a reply.', 'bbpress' ); ?></p> 31 <p><?php esc_html_e( 'To keep this topic as the lead, go to the other topic and use the merge tool from there instead.', 'bbpress' ); ?></p> 31 32 </div> 32 33 33 34 <div class="bbp-template-notice"> 34 <p><?php _e( 'All replies within both the topics will be merged chronologically. The order of the merged replies is based on the time they were posted. If the destination topic was created after this one, its post date will be updated to a second earlier than this one.', 'bbpress' ); ?></p>35 <p><?php esc_html_e( 'All replies within both the topics will be merged chronologically. The order of the merged replies is based on the time they were posted. If the destination topic was created after this one, its post date will be updated to a second earlier than this one.', 'bbpress' ); ?></p> 35 36 </div> 36 37 37 38 <fieldset class="bbp-form"> 38 <legend><?php _e( 'Destination', 'bbpress' ); ?></legend>39 <legend><?php esc_html_e( 'Destination', 'bbpress' ); ?></legend> 39 40 <div> 40 41 <?php if ( bbp_has_topics( array( 'show_stickies' => false, 'post_parent' => bbp_get_topic_forum_id( bbp_get_topic_id() ), 'post__not_in' => array( bbp_get_topic_id() ) ) ) ) : ?> 41 42 42 <label for="bbp_destination_topic"><?php _e( 'Merge with this topic:', 'bbpress' ); ?></label>43 <label for="bbp_destination_topic"><?php esc_html_e( 'Merge with this topic:', 'bbpress' ); ?></label> 43 44 44 45 <?php … … 58 59 <?php else : ?> 59 60 60 <label><?php _e( 'There are no other topics in this forum to merge with.', 'bbpress' ); ?></label>61 <label><?php esc_html_e( 'There are no other topics in this forum to merge with.', 'bbpress' ); ?></label> 61 62 62 63 <?php endif; ?> … … 66 67 67 68 <fieldset class="bbp-form"> 68 <legend><?php _e( 'Topic Extras', 'bbpress' ); ?></legend>69 <legend><?php esc_html_e( 'Topic Extras', 'bbpress' ); ?></legend> 69 70 70 71 <div> … … 73 74 74 75 <input name="bbp_topic_subscribers" id="bbp_topic_subscribers" type="checkbox" value="1" checked="checked" /> 75 <label for="bbp_topic_subscribers"><?php _e( 'Merge topic subscribers', 'bbpress' ); ?></label><br />76 <label for="bbp_topic_subscribers"><?php esc_html_e( 'Merge topic subscribers', 'bbpress' ); ?></label><br /> 76 77 77 78 <?php endif; ?> 78 79 79 80 <input name="bbp_topic_favoriters" id="bbp_topic_favoriters" type="checkbox" value="1" checked="checked" /> 80 <label for="bbp_topic_favoriters"><?php _e( 'Merge topic favoriters', 'bbpress' ); ?></label><br />81 <label for="bbp_topic_favoriters"><?php esc_html_e( 'Merge topic favoriters', 'bbpress' ); ?></label><br /> 81 82 82 83 <?php if ( bbp_allow_topic_tags() ) : ?> 83 84 84 85 <input name="bbp_topic_tags" id="bbp_topic_tags" type="checkbox" value="1" checked="checked" /> 85 <label for="bbp_topic_tags"><?php _e( 'Merge topic tags', 'bbpress' ); ?></label><br />86 <label for="bbp_topic_tags"><?php esc_html_e( 'Merge topic tags', 'bbpress' ); ?></label><br /> 86 87 87 88 <?php endif; ?> … … 91 92 92 93 <div class="bbp-template-notice error"> 93 <p><?php _e( '<strong>WARNING:</strong> This process cannot be undone.', 'bbpress'); ?></p>94 <p><?php echo wp_kses_post( __( '<strong>WARNING:</strong> This process cannot be undone.', 'bbpress' ) ); ?></p> 94 95 </div> 95 96 96 97 <div class="bbp-submit-wrapper"> 97 <button type="submit" id="bbp_merge_topic_submit" name="bbp_merge_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>98 <button type="submit" id="bbp_merge_topic_submit" name="bbp_merge_topic_submit" class="button submit"><?php esc_html_e( 'Submit', 'bbpress' ); ?></button> 98 99 </div> 99 100 </div> … … 108 109 109 110 <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> 110 <div class="entry-content"><?php is_user_logged_in() ? _e( 'You do not have the permissions to edit this topic!', 'bbpress' ) :_e( 'You cannot edit this topic.', 'bbpress' ); ?></div>111 <div class="entry-content"><?php is_user_logged_in() ? esc_html_e( 'You do not have the permissions to edit this topic!', 'bbpress' ) : esc_html_e( 'You cannot edit this topic.', 'bbpress' ); ?></div> 111 112 </div> 112 113 -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic-split.php
r15111 r15179 22 22 <fieldset class="bbp-form"> 23 23 24 <legend><?php printf( __( 'Split topic "%s"', 'bbpress' ), bbp_get_topic_title() ); ?></legend> 24 <?php /* translators: %s: Topic title. */ ?> 25 <legend><?php printf( esc_html__( 'Split topic "%s"', 'bbpress' ), esc_html( bbp_get_topic_title() ) ); ?></legend> 25 26 26 27 <div> 27 28 28 29 <div class="bbp-template-notice info"> 29 <p><?php _e( 'When you split a topic, you are slicing it in half starting with the reply you just selected. Choose to use that reply as a new topic with a new title, or merge those replies into an existing topic.', 'bbpress' ); ?></p>30 <p><?php esc_html_e( 'When you split a topic, you are slicing it in half starting with the reply you just selected. Choose to use that reply as a new topic with a new title, or merge those replies into an existing topic.', 'bbpress' ); ?></p> 30 31 </div> 31 32 32 33 <div class="bbp-template-notice"> 33 <p><?php _e( 'If you use the existing topic option, replies within both topics will be merged chronologically. The order of the merged replies is based on the time and date they were posted.', 'bbpress' ); ?></p>34 <p><?php esc_html_e( 'If you use the existing topic option, replies within both topics will be merged chronologically. The order of the merged replies is based on the time and date they were posted.', 'bbpress' ); ?></p> 34 35 </div> 35 36 36 37 <fieldset class="bbp-form"> 37 <legend><?php _e( 'Split Method', 'bbpress' ); ?></legend>38 <legend><?php esc_html_e( 'Split Method', 'bbpress' ); ?></legend> 38 39 39 40 <div> 40 41 <input name="bbp_topic_split_option" id="bbp_topic_split_option_reply" type="radio" checked="checked" value="reply" /> 41 <label for="bbp_topic_split_option_reply"><?php printf( __( 'New topic in <strong>%s</strong> titled:', 'bbpress' ), bbp_get_forum_title( bbp_get_topic_forum_id( bbp_get_topic_id() ) ) ); ?></label> 42 <?php /* translators: %s: Forum title. */ ?> 43 <label for="bbp_topic_split_option_reply"><?php printf( wp_kses_post( __( 'New topic in <strong>%s</strong> titled:', 'bbpress' ) ), esc_html( bbp_get_forum_title( bbp_get_topic_forum_id( bbp_get_topic_id() ) ) ) ); ?></label> 42 44 <input type="text" id="bbp_topic_split_destination_title" value="<?php echo esc_attr( sprintf( __( 'Split: %s', 'bbpress' ), bbp_get_topic_title() ) ); ?>" size="35" name="bbp_topic_split_destination_title" /> 43 45 </div> … … 47 49 <div> 48 50 <input name="bbp_topic_split_option" id="bbp_topic_split_option_existing" type="radio" value="existing" /> 49 <label for="bbp_topic_split_option_existing"><?php _e( 'Use an existing topic in this forum:', 'bbpress' ); ?></label>51 <label for="bbp_topic_split_option_existing"><?php esc_html_e( 'Use an existing topic in this forum:', 'bbpress' ); ?></label> 50 52 51 53 <?php … … 69 71 70 72 <fieldset class="bbp-form"> 71 <legend><?php _e( 'Topic Extras', 'bbpress' ); ?></legend>73 <legend><?php esc_html_e( 'Topic Extras', 'bbpress' ); ?></legend> 72 74 73 75 <div> … … 76 78 77 79 <input name="bbp_topic_subscribers" id="bbp_topic_subscribers" type="checkbox" value="1" checked="checked" /> 78 <label for="bbp_topic_subscribers"><?php _e( 'Copy subscribers to the new topic', 'bbpress' ); ?></label><br />80 <label for="bbp_topic_subscribers"><?php esc_html_e( 'Copy subscribers to the new topic', 'bbpress' ); ?></label><br /> 79 81 80 82 <?php endif; ?> 81 83 82 84 <input name="bbp_topic_favoriters" id="bbp_topic_favoriters" type="checkbox" value="1" checked="checked" /> 83 <label for="bbp_topic_favoriters"><?php _e( 'Copy favoriters to the new topic', 'bbpress' ); ?></label><br />85 <label for="bbp_topic_favoriters"><?php esc_html_e( 'Copy favoriters to the new topic', 'bbpress' ); ?></label><br /> 84 86 85 87 <?php if ( bbp_allow_topic_tags() ) : ?> 86 88 87 89 <input name="bbp_topic_tags" id="bbp_topic_tags" type="checkbox" value="1" checked="checked" /> 88 <label for="bbp_topic_tags"><?php _e( 'Copy topic tags to the new topic', 'bbpress' ); ?></label><br />90 <label for="bbp_topic_tags"><?php esc_html_e( 'Copy topic tags to the new topic', 'bbpress' ); ?></label><br /> 89 91 90 92 <?php endif; ?> … … 94 96 95 97 <div class="bbp-template-notice error"> 96 <p><?php _e( '<strong>WARNING:</strong> This process cannot be undone.', 'bbpress'); ?></p>98 <p><?php echo wp_kses_post( __( '<strong>WARNING:</strong> This process cannot be undone.', 'bbpress' ) ); ?></p> 97 99 </div> 98 100 99 101 <div class="bbp-submit-wrapper"> 100 <button type="submit" id="bbp_merge_topic_submit" name="bbp_merge_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>102 <button type="submit" id="bbp_merge_topic_submit" name="bbp_merge_topic_submit" class="button submit"><?php esc_html_e( 'Submit', 'bbpress' ); ?></button> 101 103 </div> 102 104 </div> … … 111 113 112 114 <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> 113 <div class="entry-content"><?php is_user_logged_in() ? _e( 'You do not have the permissions to edit this topic!', 'bbpress' ) :_e( 'You cannot edit this topic.', 'bbpress' ); ?></div>115 <div class="entry-content"><?php is_user_logged_in() ? esc_html_e( 'You do not have the permissions to edit this topic!', 'bbpress' ) : esc_html_e( 'You cannot edit this topic.', 'bbpress' ); ?></div> 114 116 </div> 115 117 -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic.php
r11022 r15179 22 22 <?php 23 23 if ( bbp_is_topic_edit() ) 24 printf( __( 'Now Editing “%s”', 'bbpress' ), bbp_get_topic_title() ); 24 /* translators: %s: Topic title. */ 25 printf( esc_html__( 'Now Editing “%s”', 'bbpress' ), esc_html( bbp_get_topic_title() ) ); 25 26 else 26 bbp_is_single_forum() ? printf( __( 'Create New Topic in “%s”', 'bbpress' ), bbp_get_forum_title() ) : _e( 'Create New Topic', 'bbpress' ); 27 /* translators: %s: Forum title. */ 28 bbp_is_single_forum() ? printf( esc_html__( 'Create New Topic in “%s”', 'bbpress' ), esc_html( bbp_get_forum_title() ) ) : esc_html_e( 'Create New Topic', 'bbpress' ); 27 29 ?> 28 30 … … 34 36 35 37 <div class="bbp-template-notice"> 36 <p><?php _e( 'If asking for help, please include your WordPress version, bbPress version, and a link to your site.','bbporg' ); ?></p>37 <p><?php _e( 'If you have a problem while using a non-bundled theme, check if it happens with TwentyTen or TwentyEleven.','bbporg' ); ?></p>38 <p><?php _e( 'If you found a bug, please create a <a href="https://bbpress.trac.wordpress.org/">trac ticket</a> with detailed duplication steps.', 'bbporg'); ?></p>38 <p><?php esc_html_e( 'If asking for help, please include your WordPress version, bbPress version, and a link to your site.', 'bbporg' ); ?></p> 39 <p><?php esc_html_e( 'If you have a problem while using a non-bundled theme, check if it happens with TwentyTen or TwentyEleven.', 'bbporg' ); ?></p> 40 <p><?php echo wp_kses_post( __( 'If you found a bug, please create a <a href="https://bbpress.trac.wordpress.org/">trac ticket</a> with detailed duplication steps.', 'bbporg' ) ); ?></p> 39 41 </div> 40 42 … … 44 46 45 47 <div class="bbp-template-notice"> 46 <p><?php _e( 'This forum is marked as closed to new topics, however your posting capabilities still allow you to do so.', 'bbpress' ); ?></p>48 <p><?php esc_html_e( 'This forum is marked as closed to new topics, however your posting capabilities still allow you to do so.', 'bbpress' ); ?></p> 47 49 </div> 48 50 … … 52 54 53 55 <div class="bbp-template-notice"> 54 <p><?php _e( 'Your account has the ability to post unrestricted HTML content.', 'bbpress' ); ?></p>56 <p><?php esc_html_e( 'Your account has the ability to post unrestricted HTML content.', 'bbpress' ); ?></p> 55 57 </div> 56 58 … … 66 68 67 69 <p> 68 <label for="bbp_topic_title"><?php printf( __( 'Topic Title (Maximum Length: %d):', 'bbpress' ), bbp_get_title_max_length() ); ?></label><br /> 70 <?php /* translators: %d: Maximum title length. */ ?> 71 <label for="bbp_topic_title"><?php printf( esc_html__( 'Topic Title (Maximum Length: %d):', 'bbpress' ), (int) bbp_get_title_max_length() ); ?></label><br /> 69 72 <input type="text" id="bbp_topic_title" value="<?php bbp_form_topic_title(); ?>" size="40" name="bbp_topic_title" maxlength="<?php bbp_title_max_length(); ?>" /> 70 73 </p> … … 77 80 78 81 <p> 79 <label for="bbp_reply_content"><?php _e( 'Reply:', 'bbpress' ); ?></label><br />82 <label for="bbp_reply_content"><?php esc_html_e( 'Reply:', 'bbpress' ); ?></label><br /> 80 83 <textarea id="bbp_topic_content" name="bbp_topic_content" cols="60" rows="6"><?php bbp_form_topic_content(); ?></textarea> 81 84 </p> … … 92 95 93 96 <p class="form-allowed-tags"> 94 <label><?php _e( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:','bbpress'); ?></label><br />97 <label><?php echo wp_kses_post( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:', 'bbpress' ) ); ?></label><br /> 95 98 <code><?php bbp_allowed_tags(); ?></code> 96 99 </p> … … 101 104 102 105 <p> 103 <label for="bbp_topic_tags"><?php _e( 'Topic Tags:', 'bbpress' ); ?></label><br />106 <label for="bbp_topic_tags"><?php esc_html_e( 'Topic Tags:', 'bbpress' ); ?></label><br /> 104 107 <input type="text" value="<?php bbp_form_topic_tags(); ?>" size="40" name="bbp_topic_tags" id="bbp_topic_tags" <?php disabled( bbp_is_topic_spam() ); ?> /> 105 108 </p> … … 112 115 113 116 <p> 114 <label for="bbp_forum_id"><?php _e( 'Forum:', 'bbpress' ); ?></label><br />117 <label for="bbp_forum_id"><?php esc_html_e( 'Forum:', 'bbpress' ); ?></label><br /> 115 118 <?php bbp_dropdown( array( 'selected' => bbp_get_form_topic_forum() ) ); ?> 116 119 </p> … … 126 129 <p> 127 130 128 <label for="bbp_stick_topic"><?php _e( 'Topic Type:', 'bbpress' ); ?></label><br />131 <label for="bbp_stick_topic"><?php esc_html_e( 'Topic Type:', 'bbpress' ); ?></label><br /> 129 132 130 133 <?php bbp_topic_type_select(); ?> … … 145 148 <?php if ( bbp_is_topic_edit() && ( get_the_author_meta( 'ID' ) != bbp_get_current_user_id() ) ) : ?> 146 149 147 <label for="bbp_topic_subscription"><?php _e( 'Notify the author of follow-up replies via email', 'bbpress' ); ?></label>150 <label for="bbp_topic_subscription"><?php esc_html_e( 'Notify the author of follow-up replies via email', 'bbpress' ); ?></label> 148 151 149 152 <?php else : ?> 150 153 151 <label for="bbp_topic_subscription"><?php _e( 'Notify me of follow-up replies via email', 'bbpress' ); ?></label>154 <label for="bbp_topic_subscription"><?php esc_html_e( 'Notify me of follow-up replies via email', 'bbpress' ); ?></label> 152 155 153 156 <?php endif; ?> … … 165 168 <legend> 166 169 <input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="1" <?php bbp_form_topic_log_edit(); ?> /> 167 <label for="bbp_log_topic_edit"><?php _e( 'Keep a log of this edit:', 'bbpress' ); ?></label><br />170 <label for="bbp_log_topic_edit"><?php esc_html_e( 'Keep a log of this edit:', 'bbpress' ); ?></label><br /> 168 171 </legend> 169 172 170 173 <div> 171 <label for="bbp_topic_edit_reason"><?php printf( __( 'Optional reason for editing:', 'bbpress' ), bbp_get_current_user_name() ); ?></label><br />174 <label for="bbp_topic_edit_reason"><?php printf( esc_html__( 'Optional reason for editing:', 'bbpress' ), esc_html( bbp_get_current_user_name() ) ); ?></label><br /> 172 175 <input type="text" value="<?php bbp_form_topic_edit_reason(); ?>" size="40" name="bbp_topic_edit_reason" id="bbp_topic_edit_reason" /> 173 176 </div> … … 184 187 <?php do_action( 'bbp_theme_before_topic_form_submit_button' ); ?> 185 188 186 <button type="submit" id="bbp_topic_submit" name="bbp_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>189 <button type="submit" id="bbp_topic_submit" name="bbp_topic_submit" class="button submit"><?php esc_html_e( 'Submit', 'bbpress' ); ?></button> 187 190 188 191 <?php do_action( 'bbp_theme_after_topic_form_submit_button' ); ?> … … 207 210 <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> 208 211 <div class="bbp-template-notice"> 209 <p><?php printf( __( 'The forum ‘%s’ is closed to new topics and replies.', 'bbpress' ), bbp_get_forum_title() ); ?></p> 212 <?php /* translators: %s: Forum title. */ ?> 213 <p><?php printf( esc_html__( 'The forum ‘%s’ is closed to new topics and replies.', 'bbpress' ), esc_html( bbp_get_forum_title() ) ); ?></p> 210 214 </div> 211 215 </div> … … 215 219 <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> 216 220 <div class="bbp-template-notice"> 217 <p><?php is_user_logged_in() ? _e( 'You cannot create new topics at this time.', 'bbpress' ) :_e( 'You must be logged in to create new topics.', 'bbpress' ); ?></p>221 <p><?php is_user_logged_in() ? esc_html_e( 'You cannot create new topics at this time.', 'bbpress' ) : esc_html_e( 'You must be logged in to create new topics.', 'bbpress' ); ?></p> 218 222 </div> 219 223 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/loop-forums.php
r442 r15179 6 6 7 7 <ul class="forum-titles"> 8 <li class="bbp-forum-info"><?php _e( 'Forum', 'bbpress' ); ?></li>9 <li class="bbp-forum-reply-count"><?php _e( 'Posts', 'bbpress' ); ?></li>8 <li class="bbp-forum-info"><?php esc_html_e( 'Forum', 'bbpress' ); ?></li> 9 <li class="bbp-forum-reply-count"><?php esc_html_e( 'Posts', 'bbpress' ); ?></li> 10 10 </ul> 11 11 -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/loop-single-topic.php
r15170 r15179 47 47 <?php do_action( 'bbp_theme_before_topic_started_by' ); ?> 48 48 49 <span class="bbp-topic-started-by"><?php printf( __( 'Started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) ) ); ?></span> 49 <?php /* translators: %1$s: Topic author link. */ ?> 50 <span class="bbp-topic-started-by"><?php printf( esc_html__( 'Started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- bbPress builds this markup; wp_kses_post() would strip the avatar's srcset and decoding attributes. ?></span> 50 51 51 52 <?php do_action( 'bbp_theme_after_topic_started_by' ); ?> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/buddypress/activity/index.php
r442 r15179 17 17 <?php do_action( 'bp_before_activity_type_tab_all' ); ?> 18 18 19 <li class="selected" id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>" title="<?php esc_attr_e( 'The public activity for everyone on this site.', 'buddypress' ); ?>"><?php printf( __( 'All Members <span5%s</span>', 'buddypress' ), 'ms'); ?></a></li>19 <li class="selected" id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>" title="<?php esc_attr_e( 'The public activity for everyone on this site.', 'buddypress' ); ?>"><?php printf( /* translators: %s: Member count. */ wp_kses_post( __( 'All Members <span>%s</span>', 'buddypress' ) ), esc_html( bp_get_total_member_count() ) ); ?></a></li> 20 20 21 21 <?php if ( is_user_logged_in() ) : ?> … … 27 27 <?php if ( bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> 28 28 29 <li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() . '/'; ?>" title="<?php esc_attr_e( 'The activity of my friends only.', 'buddypress' ); ?>"><?php printf( __( 'My Friends <span>%s</span>', 'buddypress' ), bp_get_total_friend_count( bp_loggedin_user_id() ) ); ?></a></li>29 <li id="activity-friends"><a href="<?php echo esc_url( bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() . '/' ); ?>" title="<?php esc_attr_e( 'The activity of my friends only.', 'buddypress' ); ?>"><?php printf( /* translators: %s: Friend count. */ wp_kses_post( __( 'My Friends <span>%s</span>', 'buddypress' ) ), esc_html( bp_get_total_friend_count( bp_loggedin_user_id() ) ) ); ?></a></li> 30 30 31 31 <?php endif; ?> … … 39 39 <?php if ( bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?> 40 40 41 <li id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_groups_slug() . '/'; ?>" title="<?php esc_attr_e( 'The activity of groups I am a member of.', 'buddypress' ); ?>"><?php printf( __( 'My Groups <span>%s</span>', 'buddypress' ), bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ); ?></a></li>41 <li id="activity-groups"><a href="<?php echo esc_url( bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_groups_slug() . '/' ); ?>" title="<?php esc_attr_e( 'The activity of groups I am a member of.', 'buddypress' ); ?>"><?php printf( /* translators: %s: Group count. */ wp_kses_post( __( 'My Groups <span>%s</span>', 'buddypress' ) ), esc_html( bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) ); ?></a></li> 42 42 43 43 <?php endif; ?> … … 49 49 <?php if ( bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ) : ?> 50 50 51 <li id="activity-favorites"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/favorites/'; ?>" title="<?php esc_attr_e( "The activity I've marked as a favorite.", 'buddypress' ); ?>"><?php printf( __( 'My Favorites <span>%s</span>', 'buddypress' ), bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ); ?></a></li>51 <li id="activity-favorites"><a href="<?php echo esc_url( bp_loggedin_user_domain() . bp_get_activity_slug() . '/favorites/' ); ?>" title="<?php esc_attr_e( "The activity I've marked as a favorite.", 'buddypress' ); ?>"><?php printf( /* translators: %s: Favorite count. */ wp_kses_post( __( 'My Favorites <span>%s</span>', 'buddypress' ) ), esc_html( bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ) ); ?></a></li> 52 52 53 53 <?php endif; ?> … … 55 55 <?php do_action( 'bp_before_activity_type_tab_mentions' ); ?> 56 56 57 <li id="activity-mentions"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/mentions/'; ?>" title="<?php esc_attr_e( 'Activity that I have been mentioned in.', 'buddypress' ); ?>"><?php _e( 'Mentions', 'buddypress' ); ?><?php if ( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) : ?> <strong><?php printf( __( '<span>%s new</span>', 'buddypress' ), bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ); ?></strong><?php endif; ?></a></li> 57 <li id="activity-mentions"><a href="<?php echo esc_url( bp_loggedin_user_domain() . bp_get_activity_slug() . '/mentions/' ); ?>" title="<?php esc_attr_e( 'Activity that I have been mentioned in.', 'buddypress' ); ?>"><?php esc_html_e( 'Mentions', 'buddypress' ); ?> 58 <?php 59 if ( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) : 60 ?> 61 <?php /* translators: %s: Number of new mentions. */ ?> 62 <strong><?php printf( wp_kses_post( __( '<span>%s new</span>', 'buddypress' ) ), esc_html( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) ); ?></strong><?php endif; ?></a></li> 58 63 59 64 <?php endif; ?> … … 65 70 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 66 71 <ul> 67 <li class="feed"><a href="<?php bp_sitewide_activity_feed_link(); ?>" title="<?php esc_attr_e( 'RSS Feed', 'buddypress' ); ?>"><?php _e( 'RSS', 'buddypress' ); ?></a></li>72 <li class="feed"><a href="<?php bp_sitewide_activity_feed_link(); ?>" title="<?php esc_attr_e( 'RSS Feed', 'buddypress' ); ?>"><?php esc_html_e( 'RSS', 'buddypress' ); ?></a></li> 68 73 69 74 <?php do_action( 'bp_activity_syndication_options' ); ?> 70 75 71 76 <li id="activity-filter-select" class="last"> 72 <label for="activity-filter-by"><?php _e( 'Show:', 'buddypress' ); ?></label>77 <label for="activity-filter-by"><?php esc_html_e( 'Show:', 'buddypress' ); ?></label> 73 78 <select id="activity-filter-by"> 74 <option value="-1"><?php _e( 'Everything', 'buddypress' ); ?></option>75 <option value="activity_update"><?php _e( 'Updates', 'buddypress' ); ?></option>79 <option value="-1"><?php esc_html_e( 'Everything', 'buddypress' ); ?></option> 80 <option value="activity_update"><?php esc_html_e( 'Updates', 'buddypress' ); ?></option> 76 81 77 82 <?php if ( bp_is_active( 'blogs' ) ) : ?> 78 83 79 <option value="new_blog_post"><?php _e( 'Posts', 'buddypress' ); ?></option>80 <option value="new_blog_comment"><?php _e( 'Comments', 'buddypress' ); ?></option>84 <option value="new_blog_post"><?php esc_html_e( 'Posts', 'buddypress' ); ?></option> 85 <option value="new_blog_comment"><?php esc_html_e( 'Comments', 'buddypress' ); ?></option> 81 86 82 87 <?php endif; ?> … … 84 89 <?php if ( bp_is_active( 'forums' ) ) : ?> 85 90 86 <option value="new_forum_topic"><?php _e( 'Forum Topics', 'buddypress' ); ?></option>87 <option value="new_forum_post"><?php _e( 'Forum Replies', 'buddypress' ); ?></option>91 <option value="new_forum_topic"><?php esc_html_e( 'Forum Topics', 'buddypress' ); ?></option> 92 <option value="new_forum_post"><?php esc_html_e( 'Forum Replies', 'buddypress' ); ?></option> 88 93 89 94 <?php endif; ?> … … 91 96 <?php if ( bp_is_active( 'groups' ) ) : ?> 92 97 93 <option value="created_group"><?php _e( 'New Groups', 'buddypress' ); ?></option>94 <option value="joined_group"><?php _e( 'Group Memberships', 'buddypress' ); ?></option>98 <option value="created_group"><?php esc_html_e( 'New Groups', 'buddypress' ); ?></option> 99 <option value="joined_group"><?php esc_html_e( 'Group Memberships', 'buddypress' ); ?></option> 95 100 96 101 <?php endif; ?> … … 98 103 <?php if ( bp_is_active( 'friends' ) ) : ?> 99 104 100 <option value="friendship_accepted,friendship_created"><?php _e( 'Friendships', 'buddypress' ); ?></option>105 <option value="friendship_accepted,friendship_created"><?php esc_html_e( 'Friendships', 'buddypress' ); ?></option> 101 106 102 107 <?php endif; ?> 103 108 104 <option value="new_member"><?php _e( 'New Members', 'buddypress' ); ?></option>109 <option value="new_member"><?php esc_html_e( 'New Members', 'buddypress' ); ?></option> 105 110 106 111 <?php do_action( 'bp_activity_filter_options' ); ?> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/buddypress/members/single/profile/edit.php
r442 r15179 8 8 <?php do_action( 'bp_before_profile_field_content' ); ?> 9 9 10 <h4><?php printf( __( "Editing '%s' Profile Group", "buddypress" ), bp_get_the_profile_group_name() ); ?></h4> 10 <?php /* translators: %s: Profile group name. */ ?> 11 <h4><?php printf( esc_html__( "Editing '%s' Profile Group", 'buddypress' ), esc_html( bp_get_the_profile_group_name() ) ); ?></h4> 11 12 12 13 <ul class="button-nav"> … … 24 25 <?php if ( 'textbox' == bp_get_the_profile_field_type() ) : ?> 25 26 26 <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>27 <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php echo bp_get_the_profile_field_is_required() ? esc_html__( '(required)', 'buddypress' ) : ''; ?></label> 27 28 <input type="text" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" value="<?php bp_the_profile_field_edit_value(); ?>" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?>/> 28 29 … … 31 32 <?php if ( 'textarea' == bp_get_the_profile_field_type() ) : ?> 32 33 33 <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>34 <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php echo bp_get_the_profile_field_is_required() ? esc_html__( '(required)', 'buddypress' ) : ''; ?></label> 34 35 <textarea rows="5" cols="40" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?>><?php bp_the_profile_field_edit_value(); ?></textarea> 35 36 … … 38 39 <?php if ( 'selectbox' == bp_get_the_profile_field_type() ) : ?> 39 40 40 <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>41 <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php echo bp_get_the_profile_field_is_required() ? esc_html__( '(required)', 'buddypress' ) : ''; ?></label> 41 42 <select name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?>> 42 43 <?php bp_the_profile_field_options(); ?> … … 47 48 <?php if ( 'multiselectbox' == bp_get_the_profile_field_type() ) : ?> 48 49 49 <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>50 <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php echo bp_get_the_profile_field_is_required() ? esc_html__( '(required)', 'buddypress' ) : ''; ?></label> 50 51 <select name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" multiple="multiple" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?>> 51 52 … … 56 57 <?php if ( !bp_get_the_profile_field_is_required() ) : ?> 57 58 58 <a class="clear-value" href="javascript:clear( '<?php bp_the_profile_field_input_name(); ?>' );"><?php _e( 'Clear', 'buddypress' ); ?></a>59 <a class="clear-value" href="javascript:clear( '<?php bp_the_profile_field_input_name(); ?>' );"><?php esc_html_e( 'Clear', 'buddypress' ); ?></a> 59 60 60 61 <?php endif; ?> … … 65 66 66 67 <div class="radio"> 67 <span class="label"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></span> 68 <span class="label"><?php bp_the_profile_field_name(); ?> 69 <?php 70 if ( bp_get_the_profile_field_is_required() ) : 71 ?> 72 <?php esc_html_e( '(required)', 'buddypress' ); ?><?php endif; ?></span> 68 73 69 74 <?php bp_the_profile_field_options(); ?> … … 71 76 <?php if ( !bp_get_the_profile_field_is_required() ) : ?> 72 77 73 <a class="clear-value" href="javascript:clear( '<?php bp_the_profile_field_input_name(); ?>' );"><?php _e( 'Clear', 'buddypress' ); ?></a>78 <a class="clear-value" href="javascript:clear( '<?php bp_the_profile_field_input_name(); ?>' );"><?php esc_html_e( 'Clear', 'buddypress' ); ?></a> 74 79 75 80 <?php endif; ?> … … 81 86 82 87 <div class="checkbox"> 83 <span class="label"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></span> 88 <span class="label"><?php bp_the_profile_field_name(); ?> 89 <?php 90 if ( bp_get_the_profile_field_is_required() ) : 91 ?> 92 <?php esc_html_e( '(required)', 'buddypress' ); ?><?php endif; ?></span> 84 93 85 94 <?php bp_the_profile_field_options(); ?> … … 91 100 92 101 <div class="datebox"> 93 <label for="<?php bp_the_profile_field_input_name(); ?>_day"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label> 102 <label for="<?php bp_the_profile_field_input_name(); ?>_day"><?php bp_the_profile_field_name(); ?> 103 <?php 104 if ( bp_get_the_profile_field_is_required() ) : 105 ?> 106 <?php esc_html_e( '(required)', 'buddypress' ); ?><?php endif; ?></label> 94 107 95 108 <select name="<?php bp_the_profile_field_input_name(); ?>_day" id="<?php bp_the_profile_field_input_name(); ?>_day" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?>> … … 124 137 125 138 <div class="submit"> 126 <input type="submit" name="profile-group-edit-submit" id="profile-group-edit-submit" value="<?php _e( 'Save Changes', 'buddypress' ); ?> " />139 <input type="submit" name="profile-group-edit-submit" id="profile-group-edit-submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?> " /> 127 140 </div> 128 141 -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/footer.php
r14281 r15179 1 <?php 2 /** 3 * The template for displaying the footer. 4 * 5 * @package bb-base 6 */ 7 8 ?> 1 9 </div> 2 10 </div> … … 6 14 <div class="links"> 7 15 <p> 8 <a href="https://wordpress.org"><?php _e( 'WordPress.org', 'bbporg'); ?></a>9 <a href="https://bbpress.org"><?php _e( 'bbPress.org', 'bbporg'); ?></a>10 <a href="https://buddypress.org"><?php _e( 'BuddyPress.org', 'bbporg'); ?></a>11 <a href="https://ma.tt"><?php _e( 'Matt', 'bbporg' ); ?></a>12 <a href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php esc_attr_e( 'RSS Feed for Articles', 'bbporg' ); ?>"><?php _e( 'Blog RSS', 'bbporg' ); ?></a>16 <a href="https://wordpress.org"><?php esc_html_e( 'WordPress.org', 'bbporg' ); ?></a> 17 <a href="https://bbpress.org"><?php esc_html_e( 'bbPress.org', 'bbporg' ); ?></a> 18 <a href="https://buddypress.org"><?php esc_html_e( 'BuddyPress.org', 'bbporg' ); ?></a> 19 <a href="https://ma.tt"><?php esc_html_e( 'Matt', 'bbporg' ); ?></a> 20 <a href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php esc_attr_e( 'RSS Feed for Articles', 'bbporg' ); ?>"><?php esc_html_e( 'Blog RSS', 'bbporg' ); ?></a> 13 21 </p> 14 22 </div> 15 23 <div class="details"> 16 24 <p> 17 <a href="https://bbpress.org/about/gpl/"><?php _e('GPL', 'bbporg'); ?></a>18 <a href="https://bbpress.org/contact/"><?php _e('Contact Us', 'bbporg'); ?></a>19 <a href="https://wordpress.org/about/privacy/"><?php _e('Privacy', 'bbporg'); ?></a>20 <a href="https://bbpress.org/terms/"><?php _e('Terms of Service', 'bbporg'); ?></a>21 <a href="https://x.com/bbpress"><?php _e( 'X', 'bbporg'); ?></a>25 <a href="https://bbpress.org/about/gpl/"><?php esc_html_e( 'GPL', 'bbporg' ); ?></a> 26 <a href="https://bbpress.org/contact/"><?php esc_html_e( 'Contact Us', 'bbporg' ); ?></a> 27 <a href="https://wordpress.org/about/privacy/"><?php esc_html_e( 'Privacy', 'bbporg' ); ?></a> 28 <a href="https://bbpress.org/terms/"><?php esc_html_e( 'Terms of Service', 'bbporg' ); ?></a> 29 <a href="https://x.com/bbpress"><?php esc_html_e( 'X', 'bbporg' ); ?></a> 22 30 </p> 23 31 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/functions.php
r15172 r15179 78 78 <form role="search" method="get" id="searchform" action=""> 79 79 <div> 80 <h2><?php _e( 'Forum Search', 'bborg'); ?></h2>81 <label class="screen-reader-text hidden" for="ts"><?php _e( 'Search for:', 'bborg' ); ?></label>80 <h2><?php esc_html_e( 'Forum Search', 'bborg' ); ?></h2> 81 <label class="screen-reader-text hidden" for="ts"><?php esc_html_e( 'Search for:', 'bborg' ); ?></label> 82 82 <input type="text" value="<?php echo bb_base_topic_search_query(); ?>" name="ts" id="ts" placeholder="<?php esc_attr_e( 'Search', 'bborg' ); ?>" /> 83 83 </div> … … 92 92 <form role="search" method="get" id="searchform" action=""> 93 93 <div> 94 <h2><?php _e( 'Reply Search', 'bborg'); ?></h2>95 <label class="screen-reader-text hidden" for="rs"><?php _e( 'Search for:', 'bborg' ); ?></label>94 <h2><?php esc_html_e( 'Reply Search', 'bborg' ); ?></h2> 95 <label class="screen-reader-text hidden" for="rs"><?php esc_html_e( 'Search for:', 'bborg' ); ?></label> 96 96 <input type="text" value="<?php echo bb_base_reply_search_query(); ?>" name="rs" id="rs" placeholder="<?php esc_attr_e( 'Search', 'bborg' ); ?>" /> 97 97 </div> … … 106 106 <form role="search" method="get" id="searchform" action=""> 107 107 <div> 108 <h2><?php _e( 'Plugin Search', 'bborg'); ?></h2>109 <label class="screen-reader-text hidden" for="ps"><?php _e( 'Search for:', 'bborg' ); ?></label>108 <h2><?php esc_html_e( 'Plugin Search', 'bborg' ); ?></h2> 109 <label class="screen-reader-text hidden" for="ps"><?php esc_html_e( 'Search for:', 'bborg' ); ?></label> 110 110 <input type="text" value="<?php echo bb_base_plugin_search_query(); ?>" name="ps" id="ts" placeholder="<?php esc_attr_e( 'Search', 'bborg' ); ?>" /> 111 111 </div> … … 177 177 178 178 <li class="topic-forum"><?php 179 /* translators: %s: forum title */ 180 printf( __( 'In: %s', 'bborg' ), 181 sprintf( '<a href="%s">%s</a>', 179 printf( 180 /* translators: %s: Forum title. */ 181 esc_html__( 'In: %s', 'bborg' ), 182 sprintf( 183 '<a href="%s">%s</a>', 182 184 esc_url( bbp_get_forum_permalink( bbp_get_topic_forum_id() ) ), 183 bbp_get_topic_forum_title()185 esc_html( bbp_get_topic_forum_title() ) 184 186 ) 185 187 ); … … 193 195 <?php if ( !empty( $last_reply ) ) : ?> 194 196 <li class="topic-freshness-author"><?php 195 /* translators: %s: reply author link */ 196 printf( __( 'Last voice: %s', 'bborg' ), 197 bbp_get_author_link( array( 'type' => 'name', 'post_id' => $last_reply, 'size' => '15' ) ) 197 printf( 198 /* translators: %s: Reply author link. */ 199 esc_html__( 'Last voice: %s', 'bborg' ), 200 wp_kses_post( 201 bbp_get_author_link( 202 array( 203 'type' => 'name', 204 'post_id' => $last_reply, 205 'size' => '15', 206 ) 207 ) 208 ) 198 209 ); 199 210 ?></li> … … 202 213 <li class="topic-freshness-time"><?php 203 214 /* translators: %s: date/time link to the latest post */ 204 printf( __( 'About %s', 'bborg' ), $time_since);215 printf( esc_html__( 'About %s', 'bborg' ), wp_kses_post( $time_since ) ); 205 216 ?></li> 206 217 <?php endif; ?> … … 243 254 <?php if ( bbp_get_forum_parent_id() ) : ?> 244 255 <li class="topic-parent"><?php 245 /* translators: %s: forum title */ 246 printf( __( 'In: %s', 'bborg' ), 247 sprintf( '<a href="%s">%s</a>', 256 printf( 257 /* translators: %s: Forum title. */ 258 esc_html__( 'In: %s', 'bborg' ), 259 sprintf( 260 '<a href="%s">%s</a>', 248 261 esc_url( bbp_get_forum_permalink( bbp_get_forum_parent_id() ) ), 249 bbp_get_forum_title( bbp_get_forum_parent_id() )262 esc_html( bbp_get_forum_title( bbp_get_forum_parent_id() ) ) 250 263 ) 251 264 ); … … 260 273 <?php if ( !empty( $last_active ) ) : ?> 261 274 <li class="forum-freshness-author"><?php 262 /* translators: %s: post author link */ 263 printf( __( 'Last voice: %s', 'bborg' ), 264 bbp_get_author_link( array( 'type' => 'name', 'post_id' => $last_active ) ) 275 printf( 276 /* translators: %s: Post author link. */ 277 esc_html__( 'Last voice: %s', 'bborg' ), 278 wp_kses_post( 279 bbp_get_author_link( 280 array( 281 'type' => 'name', 282 'post_id' => $last_active, 283 ) 284 ) 285 ) 265 286 ); 266 287 ?></li> … … 269 290 <li class="forum-freshness-time"><?php 270 291 /* translators: %s: date/time link to the latest post */ 271 printf( __( 'About %s', 'bborg' ), $time_since);292 printf( esc_html__( 'About %s', 'bborg' ), wp_kses_post( $time_since ) ); 272 293 ?></li> 273 294 <?php endif; ?> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/header-accessibility.php
r442 r15179 1 <?php 2 /** 3 * Skip links shown at the top of every page. 4 * 5 * @package bb-base 6 */ 7 8 ?> 1 9 <dl id="accessibility"> 2 10 <dt>Skip to:</dt> 3 <dd><a href="#content" title="Skip to content"><?php _e( 'Content', 'bborg' ); ?></a></dd>4 <dd><a href="#pages" title="Skip to pages"><?php _e( 'Pages', 'bborg' ); ?></a></dd>5 <dd><a href="#categories" title="Skip to categories"><?php _e( 'Categories', 'bborg' ); ?></a></dd>6 <dd><a href="#search" title="Skip to search"><?php _e( 'Search', 'bborg' ); ?></a></dd>11 <dd><a href="#content" title="Skip to content"><?php esc_html_e( 'Content', 'bborg' ); ?></a></dd> 12 <dd><a href="#pages" title="Skip to pages"><?php esc_html_e( 'Pages', 'bborg' ); ?></a></dd> 13 <dd><a href="#categories" title="Skip to categories"><?php esc_html_e( 'Categories', 'bborg' ); ?></a></dd> 14 <dd><a href="#search" title="Skip to search"><?php esc_html_e( 'Search', 'bborg' ); ?></a></dd> 7 15 <?php if ( ( is_page() || is_single() || is_attachment() ) && comments_open() ) : ?> 8 <dd class="separator"><a href="#comments" title="Skip to comments"><?php _e( 'Comments', 'bborg' ); ?></a></dd>9 <dd><a href="#commentform" title="Skip to comment form"><?php _e( 'Respond', 'bborg' ); ?></a></dd>16 <dd class="separator"><a href="#comments" title="Skip to comments"><?php esc_html_e( 'Comments', 'bborg' ); ?></a></dd> 17 <dd><a href="#commentform" title="Skip to comment form"><?php esc_html_e( 'Respond', 'bborg' ); ?></a></dd> 10 18 <?php endif; ?> 11 <dd class="separator"><a href="#top" title="Skip to top"><?php _e( 'Top', 'bborg' ); ?></a></dd>19 <dd class="separator"><a href="#top" title="Skip to top"><?php esc_html_e( 'Top', 'bborg' ); ?></a></dd> 12 20 <?php if ( is_category() || is_post_type_archive( 'post' ) || is_singular( 'post' ) ) : ?> 13 21 <?php previous_post_link( "\t\t\t\t<dd>%link</dd>\n", __( 'Previous Post', 'bbporg' ) ); ?> 14 22 <?php next_post_link( "\t\t\t\t<dd>%link</dd>\n", __( 'Next Post', 'bbporg' ) ); ?> 15 23 <?php endif; ?> 16 <dd><a href="#bottom" title="Skip to bottom"><?php _e( 'Bottom', 'bborg' ); ?></a></dd>24 <dd><a href="#bottom" title="Skip to bottom"><?php esc_html_e( 'Bottom', 'bborg' ); ?></a></dd> 17 25 </dl> 18 26 <hr class="hidden" /> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/image.php
r15170 r15179 15 15 <?php 16 16 /* translators: 1: Date; 2: time. */ 17 printf( __( '%1$s at %2$s' ), get_the_time( 'l, F jS, Y' ), get_the_time() );17 printf( esc_html__( '%1$s at %2$s' ), esc_html( get_the_time( 'l, F jS, Y' ) ), esc_html( get_the_time() ) ); 18 18 ?> 19 19 </dd> … … 21 21 <?php 22 22 /* translators: author posts link */ 23 printf( __( 'by <cite>%s</cite>', 'bborg' ), get_the_author_posts_link() );23 printf( wp_kses_post( __( 'by <cite>%s</cite>', 'bborg' ) ), wp_kses_post( get_the_author_posts_link() ) ); 24 24 ?> 25 25 </dd> … … 35 35 <?php endif; 36 36 if ( 'open' == $post->comment_status ) : 37 _e( '<dt>Respond if</dt><dd><a href="#respond">you’d like to leave feedback</a></dd>', 'bbporg');37 echo wp_kses_post( __( '<dt>Respond if</dt><dd><a href="#respond">you’d like to leave feedback</a></dd>', 'bbporg' ) ); 38 38 endif; 39 39 edit_post_link( esc_html__( 'Edit', 'bbporg' ), "\t\t\t\t\t<dt>" . esc_html__( 'You can', 'bborg' ) . "</dt>\n\t\t\t\t\t<dd>", "</dd>\n"); -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/index.php
r14281 r15179 8 8 <cite> 9 9 <?php 10 /* translators: 1: post date, 2: post author */ 11 printf( __( 'Published on %1$s by %2$s', 'bborg' ), 12 get_the_time( 'F jS, Y' ), 13 get_the_author_link() 10 printf( 11 /* translators: 1: Publication date, 2: Author link. */ 12 esc_html__( 'Published on %1$s by %2$s', 'bborg' ), 13 esc_html( get_the_time( 'F jS, Y' ) ), 14 wp_kses_post( get_the_author_link() ) 14 15 ); 15 16 ?> … … 32 33 else : 33 34 ?> 34 <p><em><?php _e( 'Sorry, no posts matched your criteria.', 'bborg' ); ?></em></p>35 <p><em><?php esc_html_e( 'Sorry, no posts matched your criteria.', 'bborg' ); ?></em></p> 35 36 <?php 36 37 endif; -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/page-homepage.php
r14281 r15179 5 5 get_header(); ?> 6 6 7 <h2 id="post-home"><?php _e( 'Recent Topics', 'bbporg' ); ?></h2>7 <h2 id="post-home"><?php esc_html_e( 'Recent Topics', 'bbporg' ); ?></h2> 8 8 9 9 <?php if ( function_exists( 'is_bbpress' ) ) : ?> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/sidebar.php
r15170 r15179 7 7 8 8 <div> 9 <h2><?php _e( 'Forum Info', 'bbporg'); ?></h2>9 <h2><?php esc_html_e( 'Forum Info', 'bbporg' ); ?></h2> 10 10 <ul class="forum-info"> 11 11 <?php bb_base_single_forum_description(); ?> … … 16 16 17 17 <div> 18 <h2><?php _e( 'Forum Feeds', 'bbporg'); ?></h2>18 <h2><?php esc_html_e( 'Forum Feeds', 'bbporg' ); ?></h2> 19 19 <ul> 20 20 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/" title="<?php esc_attr_e( 'Forum Posts', 'bborg' ); ?>"><?php esc_html_e( 'Recent Posts', 'bborg' ); ?></a></li> … … 26 26 27 27 <div> 28 <h2><?php _e( 'Topic Info', 'bbporg'); ?></h2>28 <h2><?php esc_html_e( 'Topic Info', 'bbporg' ); ?></h2> 29 29 <ul class="topic-info"> 30 30 <?php bb_base_single_topic_description(); ?> … … 59 59 60 60 <div> 61 <h2><?php _e( 'Forums', 'bbporg'); ?></h2>61 <h2><?php esc_html_e( 'Forums', 'bbporg' ); ?></h2> 62 62 <?php echo do_shortcode( '[bbp-forum-index]' ); ?> 63 63 </div> … … 65 65 66 66 <div> 67 <h2><?php _e( 'Views', 'bbporg'); ?></h2>67 <h2><?php esc_html_e( 'Views', 'bbporg' ); ?></h2> 68 68 <ul> 69 69 … … 78 78 79 79 <div> 80 <h2><?php _e( 'Feeds', 'bbporg'); ?></h2>80 <h2><?php esc_html_e( 'Feeds', 'bbporg' ); ?></h2> 81 81 <ul> 82 82 <li><a class="feed" href="<?php bbp_forums_url(); ?>feed/" title="<?php esc_attr_e( 'All Recent Posts', 'bborg' ); ?>"><?php esc_html_e( 'All Recent Posts', 'bborg' ); ?></a></li> … … 86 86 87 87 <div class="bbp-topic-tag-cloud"> 88 <h2><?php _e( 'Tags', 'bbporg'); ?></h2>88 <h2><?php esc_html_e( 'Tags', 'bbporg' ); ?></h2> 89 89 <?php echo do_shortcode( '[bbp-topic-tags]' ); ?> 90 90 </div> … … 95 95 96 96 <div class="feature"> 97 <h2><?php _e('WordPress', 'bbporg'); ?></h2>97 <h2><?php esc_html_e( 'WordPress', 'bbporg' ); ?></h2> 98 98 <p><a href="https://wordpress.org"><img width="78" height="58" alt="" src="<?php echo esc_url( get_template_directory_uri() . '/images/wordpress.gif' ); ?>"/></a><?php esc_html_e( 'The world’s most powerful web publishing software.', 'bborg' ); ?></p> 99 99 </div> 100 100 <div class="feature"> 101 <h2><?php _e('bbPress', 'bbporg'); ?></h2>101 <h2><?php esc_html_e( 'bbPress', 'bbporg' ); ?></h2> 102 102 <p><a href="https://bbpress.org"><img width="78" height="58" alt="" src="<?php echo esc_url( get_template_directory_uri() . '/images/bbpress.gif' ); ?>"/></a><?php esc_html_e( 'Simple and elegant forum software from the creators of WordPress.', 'bborg' ); ?></p> 103 103 </div> 104 104 <div style="margin-right: 0pt;" class="feature"> 105 <h2><?php _e('BuddyPress', 'bbporg'); ?></h2>105 <h2><?php esc_html_e( 'BuddyPress', 'bbporg' ); ?></h2> 106 106 <p><a href="https://buddypress.org"><img width="78" height="58" alt="" src="<?php echo esc_url( get_template_directory_uri() . '/images/buddypress.gif' ); ?>"/></a><?php esc_html_e( 'Create a fully featured niche social-network with a few easy clicks.', 'bborg' ); ?></p> 107 107 </div> … … 110 110 111 111 <div> 112 <h2><?php _e( 'Categories', 'bbporg'); ?></h2>112 <h2><?php esc_html_e( 'Categories', 'bbporg' ); ?></h2> 113 113 <ul> 114 114 <?php wp_list_categories( array( 'title_li' => false ) ); ?> … … 117 117 118 118 <div> 119 <h2><?php _e( 'Tags', 'bbporg'); ?></h2>119 <h2><?php esc_html_e( 'Tags', 'bbporg' ); ?></h2> 120 120 <?php wp_tag_cloud(); ?> 121 121 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/single.php
r14281 r15179 3 3 <h2 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h2> 4 4 <cite><?php 5 /* translators: 1: post date, 2: post author */ 6 printf( __( 'Published on %1$s by %2$s', 'bborg' ), 7 get_the_time( 'F jS, Y' ), 8 get_the_author_link() 5 printf( 6 /* translators: 1: Publication date, 2: Author link. */ 7 esc_html__( 'Published on %1$s by %2$s', 'bborg' ), 8 esc_html( get_the_time( 'F jS, Y' ) ), 9 wp_kses_post( get_the_author_link() ) 9 10 ); 10 11 ?></cite> … … 17 18 <?php endwhile; else : ?> 18 19 19 <p><em><?php _e( 'Sorry, no posts matched your criteria.', 'bborg' ); ?></em></p>20 <p><em><?php esc_html_e( 'Sorry, no posts matched your criteria.', 'bborg' ); ?></em></p> 20 21 21 22 <?php endif; ?> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bbpress-org/bbpress/form-topic.php
r11022 r15179 22 22 <?php 23 23 if ( bbp_is_topic_edit() ) 24 printf( __( 'Now Editing “%s”', 'bbpress' ), bbp_get_topic_title() ); 24 /* translators: %s: Topic title. */ 25 printf( esc_html__( 'Now Editing “%s”', 'bbpress' ), esc_html( bbp_get_topic_title() ) ); 25 26 else 26 bbp_is_single_forum() ? printf( __( 'Create New Topic in “%s”', 'bbpress' ), bbp_get_forum_title() ) : _e( 'Create New Topic', 'bbpress' ); 27 /* translators: %s: Forum title. */ 28 bbp_is_single_forum() ? printf( esc_html__( 'Create New Topic in “%s”', 'bbpress' ), esc_html( bbp_get_forum_title() ) ) : esc_html_e( 'Create New Topic', 'bbpress' ); 27 29 ?> 28 30 … … 34 36 35 37 <div class="bbp-template-notice"> 36 <p><?php _e( 'If asking for help, please include your WordPress version, bbPress version, and a link to your site.','bbporg' ); ?></p>37 <p><?php _e( 'If you are using a non-bundled theme, confirm your issue still happens with Twenty Twelve, Twenty Thirteen, etc...','bbporg' ); ?></p>38 <p><?php _e( 'If you found a bug, please create a <a href="https://bbpress.trac.wordpress.org/">trac ticket</a> with detailed duplication steps.', 'bbporg'); ?></p>39 <p><?php _e( 'Posts with 3 or more links will be manually approved by our forum moderators.','bbporg' ); ?></p>38 <p><?php esc_html_e( 'If asking for help, please include your WordPress version, bbPress version, and a link to your site.', 'bbporg' ); ?></p> 39 <p><?php esc_html_e( 'If you are using a non-bundled theme, confirm your issue still happens with Twenty Twelve, Twenty Thirteen, etc...', 'bbporg' ); ?></p> 40 <p><?php echo wp_kses_post( __( 'If you found a bug, please create a <a href="https://bbpress.trac.wordpress.org/">trac ticket</a> with detailed duplication steps.', 'bbporg' ) ); ?></p> 41 <p><?php esc_html_e( 'Posts with 3 or more links will be manually approved by our forum moderators.', 'bbporg' ); ?></p> 40 42 </div> 41 43 … … 45 47 46 48 <div class="bbp-template-notice"> 47 <p><?php _e( 'This forum is marked as closed to new topics, however your posting capabilities still allow you to do so.', 'bbpress' ); ?></p>49 <p><?php esc_html_e( 'This forum is marked as closed to new topics, however your posting capabilities still allow you to do so.', 'bbpress' ); ?></p> 48 50 </div> 49 51 … … 53 55 54 56 <div class="bbp-template-notice"> 55 <p><?php _e( 'Your account has the ability to post unrestricted HTML content.', 'bbpress' ); ?></p>57 <p><?php esc_html_e( 'Your account has the ability to post unrestricted HTML content.', 'bbpress' ); ?></p> 56 58 </div> 57 59 … … 67 69 68 70 <p> 69 <label for="bbp_topic_title"><?php printf( __( 'Topic Title (Maximum Length: %d):', 'bbpress' ), bbp_get_title_max_length() ); ?></label><br /> 71 <?php /* translators: %d: Maximum title length. */ ?> 72 <label for="bbp_topic_title"><?php printf( esc_html__( 'Topic Title (Maximum Length: %d):', 'bbpress' ), (int) bbp_get_title_max_length() ); ?></label><br /> 70 73 <input type="text" id="bbp_topic_title" value="<?php bbp_form_topic_title(); ?>" size="40" name="bbp_topic_title" maxlength="<?php bbp_title_max_length(); ?>" /> 71 74 </p> … … 78 81 79 82 <p> 80 <label for="bbp_reply_content"><?php _e( 'Reply:', 'bbpress' ); ?></label><br />83 <label for="bbp_reply_content"><?php esc_html_e( 'Reply:', 'bbpress' ); ?></label><br /> 81 84 <textarea id="bbp_topic_content" name="bbp_topic_content" cols="60" rows="6"><?php bbp_form_topic_content(); ?></textarea> 82 85 </p> … … 93 96 94 97 <p class="form-allowed-tags"> 95 <label><?php _e( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:','bbpress'); ?></label><br />98 <label><?php echo wp_kses_post( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:', 'bbpress' ) ); ?></label><br /> 96 99 <code><?php bbp_allowed_tags(); ?></code> 97 100 </p> … … 102 105 103 106 <p> 104 <label for="bbp_topic_tags"><?php _e( 'Topic Tags:', 'bbpress' ); ?></label><br />107 <label for="bbp_topic_tags"><?php esc_html_e( 'Topic Tags:', 'bbpress' ); ?></label><br /> 105 108 <input type="text" value="<?php bbp_form_topic_tags(); ?>" size="40" name="bbp_topic_tags" id="bbp_topic_tags" <?php disabled( bbp_is_topic_spam() ); ?> /> 106 109 </p> … … 113 116 114 117 <p> 115 <label for="bbp_forum_id"><?php _e( 'Forum:', 'bbpress' ); ?></label><br />118 <label for="bbp_forum_id"><?php esc_html_e( 'Forum:', 'bbpress' ); ?></label><br /> 116 119 <?php bbp_dropdown( array( 'selected' => bbp_get_form_topic_forum() ) ); ?> 117 120 </p> … … 127 130 <p> 128 131 129 <label for="bbp_stick_topic"><?php _e( 'Topic Type:', 'bbpress' ); ?></label><br />132 <label for="bbp_stick_topic"><?php esc_html_e( 'Topic Type:', 'bbpress' ); ?></label><br /> 130 133 131 134 <?php bbp_topic_type_select(); ?> … … 146 149 <?php if ( bbp_is_topic_edit() && ( get_the_author_meta( 'ID' ) != bbp_get_current_user_id() ) ) : ?> 147 150 148 <label for="bbp_topic_subscription"><?php _e( 'Notify the author of follow-up replies via email', 'bbpress' ); ?></label>151 <label for="bbp_topic_subscription"><?php esc_html_e( 'Notify the author of follow-up replies via email', 'bbpress' ); ?></label> 149 152 150 153 <?php else : ?> 151 154 152 <label for="bbp_topic_subscription"><?php _e( 'Notify me of follow-up replies via email', 'bbpress' ); ?></label>155 <label for="bbp_topic_subscription"><?php esc_html_e( 'Notify me of follow-up replies via email', 'bbpress' ); ?></label> 153 156 154 157 <?php endif; ?> … … 166 169 <legend> 167 170 <input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="1" <?php bbp_form_topic_log_edit(); ?> /> 168 <label for="bbp_log_topic_edit"><?php _e( 'Keep a log of this edit:', 'bbpress' ); ?></label><br />171 <label for="bbp_log_topic_edit"><?php esc_html_e( 'Keep a log of this edit:', 'bbpress' ); ?></label><br /> 169 172 </legend> 170 173 171 174 <div> 172 <label for="bbp_topic_edit_reason"><?php printf( __( 'Optional reason for editing:', 'bbpress' ), bbp_get_current_user_name() ); ?></label><br />175 <label for="bbp_topic_edit_reason"><?php printf( esc_html__( 'Optional reason for editing:', 'bbpress' ), esc_html( bbp_get_current_user_name() ) ); ?></label><br /> 173 176 <input type="text" value="<?php bbp_form_topic_edit_reason(); ?>" size="40" name="bbp_topic_edit_reason" id="bbp_topic_edit_reason" /> 174 177 </div> … … 185 188 <?php do_action( 'bbp_theme_before_topic_form_submit_button' ); ?> 186 189 187 <button type="submit" id="bbp_topic_submit" name="bbp_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>190 <button type="submit" id="bbp_topic_submit" name="bbp_topic_submit" class="button submit"><?php esc_html_e( 'Submit', 'bbpress' ); ?></button> 188 191 189 192 <?php do_action( 'bbp_theme_after_topic_form_submit_button' ); ?> … … 208 211 <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> 209 212 <div class="bbp-template-notice"> 210 <p><?php printf( __( 'The forum ‘%s’ is closed to new topics and replies.', 'bbpress' ), bbp_get_forum_title() ); ?></p> 213 <?php /* translators: %s: Forum title. */ ?> 214 <p><?php printf( esc_html__( 'The forum ‘%s’ is closed to new topics and replies.', 'bbpress' ), esc_html( bbp_get_forum_title() ) ); ?></p> 211 215 </div> 212 216 </div> … … 216 220 <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> 217 221 <div class="bbp-template-notice"> 218 <p><?php is_user_logged_in() ? _e( 'You cannot create new topics at this time.', 'bbpress' ) :_e( 'You must be logged in to create new topics.', 'bbpress' ); ?></p>222 <p><?php is_user_logged_in() ? esc_html_e( 'You cannot create new topics at this time.', 'bbpress' ) : esc_html_e( 'You must be logged in to create new topics.', 'bbpress' ); ?></p> 219 223 </div> 220 224 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bbpress-org/header-front.php
r15170 r15179 1 1 <?php if ( is_front_page() ) : ?> 2 2 <div id="headline"><div id="headline-inner"> 3 <h2 class="graphic home"><?php _e( 'Meet bbPress', 'bbporg' ); ?></h2>4 <p><?php _e( 'Forum software from the creators of WordPress. Asyncronous discussion, user profiles, subscriptions, and more!', 'bbporg' ); ?></p>3 <h2 class="graphic home"><?php esc_html_e( 'Meet bbPress', 'bbporg' ); ?></h2> 4 <p><?php esc_html_e( 'Forum software from the creators of WordPress. Asyncronous discussion, user profiles, subscriptions, and more!', 'bbporg' ); ?></p> 5 5 <div> 6 <a href="//bbpress.org/download/" id="big-demo-button" class="button"><?php _e( 'Download →', 'bbporg' ); ?></a>6 <a href="//bbpress.org/download/" id="big-demo-button" class="button"><?php esc_html_e( 'Download →', 'bbporg' ); ?></a> 7 7 <img src="<?php echo esc_url( get_theme_file_uri( 'images/screenshots.png' ) . '?v=6' ); ?>" srcset="<?php echo esc_url( get_theme_file_uri( 'images/screenshots.png' ) . '?v=6' ); ?> 1x, <?php echo esc_url( get_theme_file_uri( 'images/screenshots-2x.png' ) . '?v=6' ); ?> 2x" alt=""> 8 8 </div> … … 12 12 <div id="showcase"><div id="showcase-inner"> 13 13 <div class="feature"> 14 <h2><?php _e( 'Simple Setup', 'bbporg' ); ?></h2>14 <h2><?php esc_html_e( 'Simple Setup', 'bbporg' ); ?></h2> 15 15 <p> 16 16 <a href="//bbpress.org/about/simple/"><img src="<?php echo esc_url( get_theme_file_uri( 'images/feature_forums.gif' ) ); ?>" alt="<?php esc_attr_e( 'Simple Setup', 'bbporg' ); ?>" width="156" height="58"></a> 17 <span><?php _e( 'Easy to setup. <br>Easy to moderate. <br>Fast, and clean.', 'bbporg'); ?></span>17 <span><?php echo wp_kses_post( __( 'Easy to setup. <br>Easy to moderate. <br>Fast, and clean.', 'bbporg' ) ); ?></span> 18 18 </p> 19 19 </div> 20 20 <div class="feature"> 21 <h2><?php _e( 'Fully Integrated', 'bbporg' ); ?></h2>21 <h2><?php esc_html_e( 'Fully Integrated', 'bbporg' ); ?></h2> 22 22 <p> 23 23 <a href="//bbpress.org/about/integration/"><img src="<?php echo esc_url( get_theme_file_uri( 'images/feature_integration.gif' ) ); ?>" alt="<?php esc_attr_e( 'Fully Integrated', 'bbporg' ); ?>" width="156" height="116"></a> 24 <span><?php _e( 'One central account. <br>One unified admin area. <br>One click install.', 'bbporg'); ?></span>24 <span><?php echo wp_kses_post( __( 'One central account. <br>One unified admin area. <br>One click install.', 'bbporg' ) ); ?></span> 25 25 </p> 26 26 </div> 27 27 <div class="feature" style="margin:0;"> 28 <h2><?php _e( 'Single Installation', 'bbporg' ); ?></h2>28 <h2><?php esc_html_e( 'Single Installation', 'bbporg' ); ?></h2> 29 29 <p> 30 30 <a href="//bbpress.org/about/installation/"><img src="<?php echo esc_url( get_theme_file_uri( 'images/feature_installation.gif' ) ); ?>" alt="<?php esc_attr_e( 'Single Installation', 'bbporg' ); ?>" width="156" height="116"></a> 31 <span><?php _e( 'Simple step-by-step <br>installation walks you <br>through your options.', 'bbporg'); ?></span>31 <span><?php echo wp_kses_post( __( 'Simple step-by-step <br>installation walks you <br>through your options.', 'bbporg' ) ); ?></span> 32 32 </p> 33 33 </div> 34 34 <div class="feature"> 35 <h2><?php _e( 'Multisite Forums', 'bbporg' ); ?></h2>35 <h2><?php esc_html_e( 'Multisite Forums', 'bbporg' ); ?></h2> 36 36 <p> 37 37 <a href="//bbpress.org/about/multisite/"><img src="<?php echo esc_url( get_theme_file_uri( 'images/feature_blogs.gif' ) ); ?>" alt="<?php esc_attr_e( 'Multisite Forums', 'bbporg' ); ?>" width="156" height="116"></a> 38 <span><?php _e( 'Divide your site<br> into sections. Allow your <br>users to create content.', 'bbporg'); ?></span>38 <span><?php echo wp_kses_post( __( 'Divide your site<br> into sections. Allow your <br>users to create content.', 'bbporg' ) ); ?></span> 39 39 </p> 40 40 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bbpress-org/page-plugins.php
r15170 r15179 16 16 <?php 17 17 /* translators: 1: starting number of plugins, 2: ending number, 3: total number */ 18 printf( __( 'Viewing %1$s to %2$s (%3$s)', 'bbporg' ), 18 printf( 19 /* translators: 1: First plugin number, 2: Last plugin number, 3: Total number of plugins. */ 20 esc_html__( 'Viewing %1$s to %2$s (%3$s)', 'bbporg' ), 19 21 number_format_i18n( $from_num ), 20 22 number_format_i18n( $to_num ), … … 51 53 <div class="plugin-meta"> 52 54 <?php if ( ! empty( $plugin->version ) ) : ?> 53 <div><?php printf( __( 'Version: %s', 'bbporg' ), esc_html( $plugin->version ) ); ?></div> 55 <?php /* translators: %s: Plugin version. */ ?> 56 <div><?php printf( esc_html__( 'Version: %s', 'bbporg' ), esc_html( $plugin->version ) ); ?></div> 54 57 <?php endif; ?> 55 58 <?php if ( ! empty( $plugin->requires ) ) : ?> 56 <div><?php printf( __( 'Requires: %s', 'bbporg' ), esc_html( $plugin->requires ) ); ?></div> 59 <?php /* translators: %s: Minimum WordPress version. */ ?> 60 <div><?php printf( esc_html__( 'Requires: %s', 'bbporg' ), esc_html( $plugin->requires ) ); ?></div> 57 61 <?php endif; ?> 58 62 <?php if ( ! empty( $plugin->tested ) ) : ?> 59 <div><?php printf( __( 'Compatible up to: %s', 'bbporg' ), esc_html( $plugin->tested ) ); ?></div> 63 <?php /* translators: %s: Highest tested WordPress version. */ ?> 64 <div><?php printf( esc_html__( 'Compatible up to: %s', 'bbporg' ), esc_html( $plugin->tested ) ); ?></div> 60 65 <?php endif; ?> 61 <div><?php printf( __( 'Rating: %s', 'bbporg' ), $plugin->rating_html ); // raw html - do not escape ?></div> 66 <?php /* translators: %s: Star rating markup. */ ?> 67 <div><?php printf( esc_html__( 'Rating: %s', 'bbporg' ), wp_kses_post( $plugin->rating_html ) ); ?></div> 62 68 </div> 63 69 … … 75 81 <?php 76 82 /* translators: 1: starting number of plugins, 2: ending number, 3: total number */ 77 printf( __( 'Viewing %1$s to %2$s (%3$s)', 'bbporg' ), 83 printf( 84 /* translators: 1: First plugin number, 2: Last plugin number, 3: Total number of plugins. */ 85 esc_html__( 'Viewing %1$s to %2$s (%3$s)', 'bbporg' ), 78 86 number_format_i18n( $from_num ), 79 87 number_format_i18n( $to_num ), -
sites/trunk/buddypress.org/public_html/wp-content/themes/bbpress-org/sidebar.php
r15170 r15179 17 17 18 18 <div> 19 <h2><?php _e( 'Forum Info', 'bbporg' ); ?></h2>19 <h2><?php esc_html_e( 'Forum Info', 'bbporg' ); ?></h2> 20 20 <ul class="forum-info"> 21 21 <?php bb_base_single_forum_description(); ?> … … 26 26 27 27 <div> 28 <h2><?php _e( 'Forum Feeds', 'bbporg' ); ?></h2>28 <h2><?php esc_html_e( 'Forum Feeds', 'bbporg' ); ?></h2> 29 29 <ul> 30 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/"><?php _e( 'Recent Posts', 'bbporg' ); ?></a></li>31 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/?type=topic"><?php _e( 'Recent Topics', 'bbporg' ); ?></a></li>30 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/"><?php esc_html_e( 'Recent Posts', 'bbporg' ); ?></a></li> 31 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/?type=topic"><?php esc_html_e( 'Recent Topics', 'bbporg' ); ?></a></li> 32 32 </ul> 33 33 </div> … … 36 36 37 37 <div> 38 <h2><?php _e( 'Topic Info', 'bbporg' ); ?></h2>38 <h2><?php esc_html_e( 'Topic Info', 'bbporg' ); ?></h2> 39 39 <ul class="topic-info"> 40 40 <?php bb_base_single_topic_description(); ?> … … 69 69 70 70 <div> 71 <h2><?php _e( 'Forums', 'bbporg' ); ?></h2>71 <h2><?php esc_html_e( 'Forums', 'bbporg' ); ?></h2> 72 72 <?php echo do_shortcode( '[bbp-forum-index]' ); ?> 73 73 </div> … … 75 75 76 76 <div> 77 <h2><?php _e( 'Views', 'bbporg' ); ?></h2>77 <h2><?php esc_html_e( 'Views', 'bbporg' ); ?></h2> 78 78 <ul> 79 79 … … 88 88 89 89 <div> 90 <h2><?php _e( 'Feeds', 'bbporg' ); ?></h2>90 <h2><?php esc_html_e( 'Feeds', 'bbporg' ); ?></h2> 91 91 <ul> 92 <li><a class="feed" href="<?php bbp_forums_url(); ?>feed/"><?php _e( 'All Recent Posts', 'bbporg' ); ?></a></li>93 <li><a class="feed" href="<?php bbp_topics_url(); ?>feed/"><?php _e( 'All Recent Topics', 'bbporg' ); ?></a></li>92 <li><a class="feed" href="<?php bbp_forums_url(); ?>feed/"><?php esc_html_e( 'All Recent Posts', 'bbporg' ); ?></a></li> 93 <li><a class="feed" href="<?php bbp_topics_url(); ?>feed/"><?php esc_html_e( 'All Recent Topics', 'bbporg' ); ?></a></li> 94 94 </ul> 95 95 </div> 96 96 97 97 <div class="bbp-topic-tag-cloud"> 98 <h2><?php _e( 'Tags', 'bbporg' ); ?></h2>98 <h2><?php esc_html_e( 'Tags', 'bbporg' ); ?></h2> 99 99 <?php echo do_shortcode( '[bbp-topic-tags]' ); ?> 100 100 </div> … … 107 107 108 108 <div> 109 <h2><?php _e( 'Legacy', 'bbporg' ); ?></h2>109 <h2><?php esc_html_e( 'Legacy', 'bbporg' ); ?></h2> 110 110 <ul> 111 111 <li><a href="<?php echo esc_url( get_permalink( 116247 ) ); ?>"><?php esc_html_e( 'Plugins for bbPress 1.1', 'bbporg' ); ?></a></li> … … 116 116 117 117 <div> 118 <h2><?php _e( 'Categories', 'bbporg' ); ?></h2>118 <h2><?php esc_html_e( 'Categories', 'bbporg' ); ?></h2> 119 119 <ul> 120 120 <?php wp_list_categories( array( 'title_li' => false ) ); ?> … … 123 123 124 124 <div> 125 <h2><?php _e( 'Tags', 'bbporg' ); ?></h2>125 <h2><?php esc_html_e( 'Tags', 'bbporg' ); ?></h2> 126 126 <?php wp_tag_cloud(); ?> 127 127 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bporg-developer/header.php
r12530 r15179 33 33 <header id="masthead" class="site-header<?php if ( is_front_page() ) { echo ' home'; } ?>" role="banner"> 34 34 <?php if ( get_query_var( 'is_handbook' ) ) : ?> 35 <a href="#" id="secondary-toggle" onclick="return false;"><strong><?php _e( 'Menu', 'bporg-developer' ); ?></strong></a>35 <a href="#" id="secondary-toggle" onclick="return false;"><strong><?php esc_html_e( 'Menu', 'bporg-developer' ); ?></strong></a> 36 36 <?php endif; ?> 37 37 <div class="site-branding"> … … 69 69 <div id="inner-search-icon-container"> 70 70 <div id="inner-search-icon"> 71 <div class="dashicons dashicons-search"><span class="screen-reader-text"><?php _e( 'Search', 'bporg-developer' ); ?></span></div>71 <div class="dashicons dashicons-search"><span class="screen-reader-text"><?php esc_html_e( 'Search', 'bporg-developer' ); ?></span></div> 72 72 </div> 73 73 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bporg-developer/page-reference-landing.php
r15170 r15179 20 20 <div class="reference-landing"> 21 21 <div class="search-guide section clear"> 22 <h4 class="ref-intro"><?php _e( 'Want to know what's going on inside BuddyPress? Search the Code Reference for more information about BuddyPress' functions, classes, methods, and hooks.', 'bporg-developer' ); ?></h4>23 <h3 class="search-intro"><?php _e( 'Try it out:', 'bporg-developer' ); ?></h3>22 <h4 class="ref-intro"><?php esc_html_e( 'Want to know what's going on inside BuddyPress? Search the Code Reference for more information about BuddyPress' functions, classes, methods, and hooks.', 'bporg-developer' ); ?></h4> 23 <h3 class="search-intro"><?php esc_html_e( 'Try it out:', 'bporg-developer' ); ?></h3> 24 24 <?php get_search_form(); ?> 25 25 </div><!-- /search-guide --> 26 26 27 27 <div class="topic-guide section"> 28 <h4><?php _e( 'Or browse through topics:', 'bporg-developer' ); ?></h4>28 <h4><?php esc_html_e( 'Or browse through topics:', 'bporg-developer' ); ?></h4> 29 29 <ul class="unordered-list horizontal-list no-bullets"> 30 30 <li><a href="<?php echo esc_url( get_post_type_archive_link( 'wp-parser-function' ) ); ?>"><?php esc_html_e( 'Functions', 'bporg-developer' ); ?></a></li> … … 39 39 <?php if ( $version && ! is_wp_error( $version ) ) : ?> 40 40 <div class="widget box gray"> 41 <h3 class="widget-title"><?php printf( __( 'New & Updated in BuddyPress %s:', 'bporg-developer' ), substr( $version->name, 0, -2 ) ); ?></h3> 41 <?php /* translators: %s: BuddyPress version. */ ?> 42 <h3 class="widget-title"><?php printf( esc_html__( 'New & Updated in BuddyPress %s:', 'bporg-developer' ), esc_html( substr( $version->name, 0, -2 ) ) ); ?></h3> 42 43 <div class="widget-content"> 43 44 <ul class="unordered-list no-bullets"> … … 65 66 66 67 <?php endwhile; ?> 67 <li class="view-all-new-in"><a href="<?php echo esc_attr( get_term_link( $version, 'wp-parser-since' ) ); ?>"><?php_e( 'View all…', 'bporg-developer' ); ?></a></li>68 <li class="view-all-new-in"><a href="<?php echo esc_url( get_term_link( $version, 'wp-parser-since' ) ); ?>"><?php esc_html_e( 'View all…', 'bporg-developer' ); ?></a></li> 68 69 </ul> 69 70 </div> … … 72 73 <?php if ( has_nav_menu( 'reference-home-api' ) ) : ?> 73 74 <div class="widget box gray"> 74 <h3 class="widget-title"><?php_e( 'API', 'bporg-developer' ); ?></h3>75 <h3 class="widget-title"><?php esc_html_e( 'API', 'bporg-developer' ); ?></h3> 75 76 <div class="widget-content"> 76 77 <?php wp_nav_menu( -
sites/trunk/buddypress.org/public_html/wp-content/themes/bporg-developer/reference/template-source.php
r9131 r15179 13 13 <hr /> 14 14 <section class="source-content"> 15 <h3><?php _e( 'Source', 'bporg-developer' ); ?></h3>15 <h3><?php esc_html_e( 'Source', 'bporg-developer' ); ?></h3> 16 16 <p> 17 <?php printf( __( 'File: %s', 'bporg-developer' ), 17 <?php 18 printf( 19 /* translators: %s: Source file link. */ 20 esc_html__( 'File: %s', 'bporg-developer' ), 18 21 '<a href="' . esc_url( get_source_file_archive_link( $source_file ) ) . '">' . esc_html( $source_file ) . '</a>' 19 22 ); ?> … … 26 29 <p class="source-code-links"> 27 30 <span> 28 <a href="#" class="show-complete-source"><?php _e( 'Expand full source code', 'bporg-developer' ); ?></a>29 <a href="#" class="less-complete-source"><?php _e( 'Collapse full source code', 'bporg-developer' ); ?></a>31 <a href="#" class="show-complete-source"><?php esc_html_e( 'Expand full source code', 'bporg-developer' ); ?></a> 32 <a href="#" class="less-complete-source"><?php esc_html_e( 'Collapse full source code', 'bporg-developer' ); ?></a> 30 33 </span> 31 <span><a href="<?php bporg_developer_source_file_link(); ?>"><?php _e( 'View on Trac', 'bporg-developer' ); ?></a></span>34 <span><a href="<?php bporg_developer_source_file_link(); ?>"><?php esc_html_e( 'View on Trac', 'bporg-developer' ); ?></a></span> 32 35 </p> 33 36 <?php else : ?> 34 37 <p> 35 <a href="<?php bporg_developer_source_file_link(); ?>"><?php _e( 'View on Trac', 'bporg-developer' ); ?></a>38 <a href="<?php bporg_developer_source_file_link(); ?>"><?php esc_html_e( 'View on Trac', 'bporg-developer' ); ?></a> 36 39 </p> 37 40 <?php endif; ?> -
sites/trunk/buddypress.org/public_html/wp-content/themes/buddypress-org/bbpress/form-topic.php
r11022 r15179 22 22 <?php 23 23 if ( bbp_is_topic_edit() ) 24 printf( __( 'Now Editing “%s”', 'bbpress' ), bbp_get_topic_title() ); 24 /* translators: %s: Topic title. */ 25 printf( esc_html__( 'Now Editing “%s”', 'bbpress' ), esc_html( bbp_get_topic_title() ) ); 25 26 else 26 bbp_is_single_forum() ? printf( __( 'Create New Topic in “%s”', 'bbpress' ), bbp_get_forum_title() ) : _e( 'Create New Topic', 'bbpress' ); 27 /* translators: %s: Forum title. */ 28 bbp_is_single_forum() ? printf( esc_html__( 'Create New Topic in “%s”', 'bbpress' ), esc_html( bbp_get_forum_title() ) ) : esc_html_e( 'Create New Topic', 'bbpress' ); 27 29 ?> 28 30 … … 34 36 35 37 <div class="bbp-template-notice"> 36 <p><?php _e( 'If asking for help, please include your WordPress version, BuddyPress version, and a link to your site.','bporg' ); ?></p>37 <p><?php _e( 'If you are using a non-bundled theme, confirm your issue still happens with Twenty Twelve, Twenty Thirteen, etc...','bporg' ); ?></p>38 <p><?php _e( 'If you found a bug, please create a <a href="https://buddypress.trac.wordpress.org/">trac ticket</a> with detailed duplication steps.', 'bporg'); ?></p>39 <p><?php _e( 'Posts with 3 or more links will be manually approved by our forum moderators.','bporg' ); ?></p>38 <p><?php esc_html_e( 'If asking for help, please include your WordPress version, BuddyPress version, and a link to your site.', 'bporg' ); ?></p> 39 <p><?php esc_html_e( 'If you are using a non-bundled theme, confirm your issue still happens with Twenty Twelve, Twenty Thirteen, etc...', 'bporg' ); ?></p> 40 <p><?php echo wp_kses_post( __( 'If you found a bug, please create a <a href="https://buddypress.trac.wordpress.org/">trac ticket</a> with detailed duplication steps.', 'bporg' ) ); ?></p> 41 <p><?php esc_html_e( 'Posts with 3 or more links will be manually approved by our forum moderators.', 'bporg' ); ?></p> 40 42 </div> 41 43 … … 45 47 46 48 <div class="bbp-template-notice"> 47 <p><?php _e( 'This forum is marked as closed to new topics, however your posting capabilities still allow you to do so.', 'bbpress' ); ?></p>49 <p><?php esc_html_e( 'This forum is marked as closed to new topics, however your posting capabilities still allow you to do so.', 'bbpress' ); ?></p> 48 50 </div> 49 51 … … 53 55 54 56 <div class="bbp-template-notice"> 55 <p><?php _e( 'Your account has the ability to post unrestricted HTML content.', 'bbpress' ); ?></p>57 <p><?php esc_html_e( 'Your account has the ability to post unrestricted HTML content.', 'bbpress' ); ?></p> 56 58 </div> 57 59 … … 67 69 68 70 <p> 69 <label for="bbp_topic_title"><?php printf( __( 'Topic Title (Maximum Length: %d):', 'bbpress' ), bbp_get_title_max_length() ); ?></label><br /> 71 <?php /* translators: %d: Maximum title length. */ ?> 72 <label for="bbp_topic_title"><?php printf( esc_html__( 'Topic Title (Maximum Length: %d):', 'bbpress' ), (int) bbp_get_title_max_length() ); ?></label><br /> 70 73 <input type="text" id="bbp_topic_title" value="<?php bbp_form_topic_title(); ?>" size="40" name="bbp_topic_title" maxlength="<?php bbp_title_max_length(); ?>" /> 71 74 </p> … … 78 81 79 82 <p> 80 <label for="bbp_reply_content"><?php _e( 'Reply:', 'bbpress' ); ?></label><br />83 <label for="bbp_reply_content"><?php esc_html_e( 'Reply:', 'bbpress' ); ?></label><br /> 81 84 <textarea id="bbp_topic_content" name="bbp_topic_content" cols="60" rows="6"><?php bbp_form_topic_content(); ?></textarea> 82 85 </p> … … 93 96 94 97 <p class="form-allowed-tags"> 95 <label><?php _e( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:','bbpress'); ?></label><br />98 <label><?php echo wp_kses_post( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:', 'bbpress' ) ); ?></label><br /> 96 99 <code><?php bbp_allowed_tags(); ?></code> 97 100 </p> … … 102 105 103 106 <p> 104 <label for="bbp_topic_tags"><?php _e( 'Topic Tags:', 'bbpress' ); ?></label><br />107 <label for="bbp_topic_tags"><?php esc_html_e( 'Topic Tags:', 'bbpress' ); ?></label><br /> 105 108 <input type="text" value="<?php bbp_form_topic_tags(); ?>" size="40" name="bbp_topic_tags" id="bbp_topic_tags" <?php disabled( bbp_is_topic_spam() ); ?> /> 106 109 </p> … … 113 116 114 117 <p> 115 <label for="bbp_forum_id"><?php _e( 'Forum:', 'bbpress' ); ?></label><br />118 <label for="bbp_forum_id"><?php esc_html_e( 'Forum:', 'bbpress' ); ?></label><br /> 116 119 <?php bbp_dropdown( array( 'selected' => bbp_get_form_topic_forum() ) ); ?> 117 120 </p> … … 127 130 <p> 128 131 129 <label for="bbp_stick_topic"><?php _e( 'Topic Type:', 'bbpress' ); ?></label><br />132 <label for="bbp_stick_topic"><?php esc_html_e( 'Topic Type:', 'bbpress' ); ?></label><br /> 130 133 131 134 <?php bbp_topic_type_select(); ?> … … 146 149 <?php if ( bbp_is_topic_edit() && ( get_the_author_meta( 'ID' ) != bbp_get_current_user_id() ) ) : ?> 147 150 148 <label for="bbp_topic_subscription"><?php _e( 'Notify the author of follow-up replies via email', 'bbpress' ); ?></label>151 <label for="bbp_topic_subscription"><?php esc_html_e( 'Notify the author of follow-up replies via email', 'bbpress' ); ?></label> 149 152 150 153 <?php else : ?> 151 154 152 <label for="bbp_topic_subscription"><?php _e( 'Notify me of follow-up replies via email', 'bbpress' ); ?></label>155 <label for="bbp_topic_subscription"><?php esc_html_e( 'Notify me of follow-up replies via email', 'bbpress' ); ?></label> 153 156 154 157 <?php endif; ?> … … 166 169 <legend> 167 170 <input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="1" <?php bbp_form_topic_log_edit(); ?> /> 168 <label for="bbp_log_topic_edit"><?php _e( 'Keep a log of this edit:', 'bbpress' ); ?></label><br />171 <label for="bbp_log_topic_edit"><?php esc_html_e( 'Keep a log of this edit:', 'bbpress' ); ?></label><br /> 169 172 </legend> 170 173 171 174 <div> 172 <label for="bbp_topic_edit_reason"><?php printf( __( 'Optional reason for editing:', 'bbpress' ), bbp_get_current_user_name() ); ?></label><br />175 <label for="bbp_topic_edit_reason"><?php printf( esc_html__( 'Optional reason for editing:', 'bbpress' ), esc_html( bbp_get_current_user_name() ) ); ?></label><br /> 173 176 <input type="text" value="<?php bbp_form_topic_edit_reason(); ?>" size="40" name="bbp_topic_edit_reason" id="bbp_topic_edit_reason" /> 174 177 </div> … … 185 188 <?php do_action( 'bbp_theme_before_topic_form_submit_button' ); ?> 186 189 187 <button type="submit" id="bbp_topic_submit" name="bbp_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>190 <button type="submit" id="bbp_topic_submit" name="bbp_topic_submit" class="button submit"><?php esc_html_e( 'Submit', 'bbpress' ); ?></button> 188 191 189 192 <?php do_action( 'bbp_theme_after_topic_form_submit_button' ); ?> … … 208 211 <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> 209 212 <div class="bbp-template-notice"> 210 <p><?php printf( __( 'The forum ‘%s’ is closed to new topics and replies.', 'bbpress' ), bbp_get_forum_title() ); ?></p> 213 <?php /* translators: %s: Forum title. */ ?> 214 <p><?php printf( esc_html__( 'The forum ‘%s’ is closed to new topics and replies.', 'bbpress' ), esc_html( bbp_get_forum_title() ) ); ?></p> 211 215 </div> 212 216 </div> … … 216 220 <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> 217 221 <div class="bbp-template-notice"> 218 <p><?php is_user_logged_in() ? _e( 'You cannot create new topics at this time.', 'bbpress' ) :_e( 'You must be logged in to create new topics.', 'bbpress' ); ?></p>222 <p><?php is_user_logged_in() ? esc_html_e( 'You cannot create new topics at this time.', 'bbpress' ) : esc_html_e( 'You must be logged in to create new topics.', 'bbpress' ); ?></p> 219 223 </div> 220 224 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/buddypress-org/footer.php
r14285 r15179 1 <?php 2 /** 3 * The template for displaying the footer. 4 * 5 * @package buddypress-org 6 */ 7 8 ?> 1 9 </div> 2 10 </div> … … 6 14 <div class="links"> 7 15 <p> 8 <a href="https://wordpress.org"><?php _e( 'WordPress.org', 'bporg' ); ?></a>9 <a href="https://bbpress.org"><?php _e( 'bbPress.org', 'bporg' ); ?></a>10 <a href="https://buddypress.org"><?php _e( 'BuddyPress.org', 'bporg' ); ?></a>11 <a href="https://ma.tt"><?php _e( 'Matt', 'bporg' ); ?></a>12 <a href="<?php bloginfo( 'rss2_url' ); ?>"><?php _e( 'Blog RSS', 'bporg' ); ?></a>16 <a href="https://wordpress.org"><?php esc_html_e( 'WordPress.org', 'bporg' ); ?></a> 17 <a href="https://bbpress.org"><?php esc_html_e( 'bbPress.org', 'bporg' ); ?></a> 18 <a href="https://buddypress.org"><?php esc_html_e( 'BuddyPress.org', 'bporg' ); ?></a> 19 <a href="https://ma.tt"><?php esc_html_e( 'Matt', 'bporg' ); ?></a> 20 <a href="<?php bloginfo( 'rss2_url' ); ?>"><?php esc_html_e( 'Blog RSS', 'bporg' ); ?></a> 13 21 </p> 14 22 </div> 15 23 <div class="details"> 16 24 <p> 17 <a href="https://buddypress.org/about/gpl/"><?php _e( 'GPL', 'bporg' ); ?></a>18 <a href="https://buddypress.org/contact/"><?php _e( 'Contact Us', 'bporg' ); ?></a>19 <a href="https://wordpress.org/about/privacy/"><?php _e('Privacy', 'bbporg'); ?></a>20 <a href="https://buddypress.org/terms/"><?php _e( 'Terms of Service', 'bporg' ); ?></a>21 <a href="https://x.com/buddypressdev"><?php _e( 'X', 'bporg' ); ?></a>25 <a href="https://buddypress.org/about/gpl/"><?php esc_html_e( 'GPL', 'bporg' ); ?></a> 26 <a href="https://buddypress.org/contact/"><?php esc_html_e( 'Contact Us', 'bporg' ); ?></a> 27 <a href="https://wordpress.org/about/privacy/"><?php esc_html_e( 'Privacy', 'bbporg' ); ?></a> 28 <a href="https://buddypress.org/terms/"><?php esc_html_e( 'Terms of Service', 'bporg' ); ?></a> 29 <a href="https://x.com/buddypressdev"><?php esc_html_e( 'X', 'bporg' ); ?></a> 22 30 </p> 23 31 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/buddypress-org/header-front.php
r15170 r15179 2 2 3 3 <div id="headline"><div id="headline-inner"> 4 <h2 class="graphic home"><?php _e( 'Meet BuddyPress', 'bporg' ); ?></h2>5 <p><?php _e( 'The open source community platform of choice worldwide — from creators & small businesses to enterprises & governments.', 'bporg' ); ?></p>4 <h2 class="graphic home"><?php esc_html_e( 'Meet BuddyPress', 'bporg' ); ?></h2> 5 <p><?php esc_html_e( 'The open source community platform of choice worldwide — from creators & small businesses to enterprises & governments.', 'bporg' ); ?></p> 6 6 <div> 7 <a href="<?php bloginfo( 'url' ); ?>/download/" id="big-demo-button" class="button"><?php _e( 'Download →', 'bporg' ); ?></a>7 <a href="<?php bloginfo( 'url' ); ?>/download/" id="big-demo-button" class="button"><?php esc_html_e( 'Download →', 'bporg' ); ?></a> 8 8 <img src="<?php echo esc_url( get_theme_file_uri( 'images/screenshots.png' ) . '?v=6' ); ?>" srcset="<?php echo esc_url( get_theme_file_uri( 'images/screenshots.png' ) . '?v=6' ); ?> 1x, <?php echo esc_url( get_theme_file_uri( 'images/screenshots-2x.png' ) . '?v=6' ); ?> 2x" alt=""> 9 9 </div> … … 13 13 <div id="showcase"><div id="showcase-inner"> 14 14 <div class="feature"> 15 <h2><?php _e( 'Profiles', 'bporg' ); ?></h2>15 <h2><?php esc_html_e( 'Profiles', 'bporg' ); ?></h2> 16 16 <p> 17 17 <a href="//buddypress.org/about/profiles/"><img src="<?php echo esc_url( get_theme_file_uri( 'images/feature_profiles.gif' ) ); ?>" alt="" width="156" height="116"></a> 18 <span><?php _e( 'Custom profile fields.<br> Visibility levels.<br>Common field types.', 'bporg'); ?></span>18 <span><?php echo wp_kses_post( __( 'Custom profile fields.<br> Visibility levels.<br>Common field types.', 'bporg' ) ); ?></span> 19 19 </p> 20 20 </div> 21 21 <div class="feature"> 22 <h2><?php _e( 'Settings', 'bporg' ); ?></h2>22 <h2><?php esc_html_e( 'Settings', 'bporg' ); ?></h2> 23 23 <p> 24 24 <a href="//buddypress.org/about/settings/"><img src="<?php echo esc_url( get_theme_file_uri( 'images/feature_settings.gif' ) ); ?>" alt="" width="156" height="116"></a> 25 <span><?php _e( 'Manage account settings. <br>Email notifications. <br>Email and Password.', 'bporg'); ?></span>25 <span><?php echo wp_kses_post( __( 'Manage account settings. <br>Email notifications. <br>Email and Password.', 'bporg' ) ); ?></span> 26 26 </p> 27 27 </div> 28 28 <div class="feature"> 29 <h2><?php _e( 'Groups', 'bporg' ); ?></h2>29 <h2><?php esc_html_e( 'Groups', 'bporg' ); ?></h2> 30 30 <p> 31 31 <a href="//buddypress.org/about/groups/"><img src="<?php echo esc_url( get_theme_file_uri( 'images/feature_groups.gif' ) ); ?>" alt="" width="156" height="116"></a> 32 <span><?php _e( 'Extensible user groups. <br>Allow your users to <br>create micro-communities.', 'bporg'); ?></span>32 <span><?php echo wp_kses_post( __( 'Extensible user groups. <br>Allow your users to <br>create micro-communities.', 'bporg' ) ); ?></span> 33 33 </p> 34 34 </div> 35 35 <div class="feature"> 36 <h2><?php _e( 'Activity Streams', 'bporg' ); ?></h2>36 <h2><?php esc_html_e( 'Activity Streams', 'bporg' ); ?></h2> 37 37 <p> 38 38 <a href="//buddypress.org/about/activity/"><img src="<?php echo esc_url( get_theme_file_uri( 'images/feature_activity.gif' ) ); ?>" alt="" width="156" height="116"></a> 39 <span><?php _e( 'For members and groups. <br>Sitewide directory <br>and single threads.', 'bporg'); ?></span>39 <span><?php echo wp_kses_post( __( 'For members and groups. <br>Sitewide directory <br>and single threads.', 'bporg' ) ); ?></span> 40 40 </p> 41 41 </div> 42 42 <div class="feature"> 43 <h2><?php _e( 'Notifications', 'bporg' ); ?></h2>43 <h2><?php esc_html_e( 'Notifications', 'bporg' ); ?></h2> 44 44 <p> 45 45 <a href="//buddypress.org/about/notifications/"><img src="<?php echo esc_url( get_theme_file_uri( 'images/feature_notifications.gif' ) ); ?>" alt="" width="156" height="116"></a> 46 <span><?php _e( 'Get notified.<br> Smart read/unread. <br>Fully integrated.', 'bporg'); ?></span>46 <span><?php echo wp_kses_post( __( 'Get notified.<br> Smart read/unread. <br>Fully integrated.', 'bporg' ) ); ?></span> 47 47 </p> 48 48 </div> 49 49 <div class="feature"> 50 <h2><?php _e( 'Friendships', 'bporg' ); ?></h2>50 <h2><?php esc_html_e( 'Friendships', 'bporg' ); ?></h2> 51 51 <p> 52 52 <a href="//buddypress.org/about/friends/"><img src="<?php echo esc_url( get_theme_file_uri( 'images/feature_friends.gif' ) ); ?>" alt="" width="156" height="116"></a> 53 <span><?php _e( "Friendship connections. <br>It's always about <br>who you know!", 'bporg'); ?></span>53 <span><?php echo wp_kses_post( __( 'Friendship connections. <br>It’s always about <br>who you know!', 'bporg' ) ); ?></span> 54 54 </p> 55 55 </div> 56 56 <div class="feature"> 57 <h2><?php _e( 'Private Messaging', 'bporg' ); ?></h2>57 <h2><?php esc_html_e( 'Private Messaging', 'bporg' ); ?></h2> 58 58 <p> 59 59 <a href="//buddypress.org/about/private-messaging/"><img src="<?php echo esc_url( get_theme_file_uri( 'images/feature_pms.gif' ) ); ?>" alt="" width="156" height="116"></a> 60 <span><?php _e( 'Private conversations <br>with several members <br>at one time.', 'bporg'); ?></span>60 <span><?php echo wp_kses_post( __( 'Private conversations <br>with several members <br>at one time.', 'bporg' ) ); ?></span> 61 61 </p> 62 62 </div> 63 63 <div class="feature"> 64 <h2><?php _e( '...and more!', 'bporg' ); ?></h2>64 <h2><?php esc_html_e( '...and more!', 'bporg' ); ?></h2> 65 65 <p> 66 66 <a href="//buddypress.org/about/more/"><img src="<?php echo esc_url( get_theme_file_uri( 'images/feature_more.gif' ) ); ?>" alt="" width="156" height="116"></a> 67 <span><?php _e( 'Extend BuddyPress <br>with hundreds of <br>third party components.', 'bporg'); ?></span>67 <span><?php echo wp_kses_post( __( 'Extend BuddyPress <br>with hundreds of <br>third party components.', 'bporg' ) ); ?></span> 68 68 </p> 69 69 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/buddypress-org/header-nav.php
r14293 r15179 14 14 <li class="menu-item<?php if ( true === $_is_about ) : ?> current <?php endif; ?>"> 15 15 <a href="https://buddypress.org/about/"> 16 <?php _e( 'About', 'bborg' ); ?>16 <?php esc_html_e( 'About', 'bborg' ); ?> 17 17 </a> 18 18 </li> 19 19 <li class="menu-item<?php if ( true === $_is_news ) : ?> current <?php endif; ?>"> 20 20 <a href="https://buddypress.org/blog/"> 21 <?php _e( 'News', 'bborg' ); ?>21 <?php esc_html_e( 'News', 'bborg' ); ?> 22 22 </a> 23 23 </li> 24 24 <li class="menu-item<?php if ( true === $_is_codex ) : ?> current <?php endif; ?>"> 25 25 <a href="https://codex.buddypress.org/"> 26 <?php _e( 'Codex', 'bborg' ); ?>26 <?php esc_html_e( 'Codex', 'bborg' ); ?> 27 27 </a> 28 28 </li> 29 29 <li class="menu-item"> 30 30 <a href="https://developer.buddypress.org"> 31 <?php _e( 'Develop', 'bborg' ); ?>31 <?php esc_html_e( 'Develop', 'bborg' ); ?> 32 32 </a> 33 33 </li> 34 34 <li class="menu-item"> 35 35 <a href="https://buddypress.trac.wordpress.org"> 36 <?php _e( 'Make', 'bborg' ); ?>36 <?php esc_html_e( 'Make', 'bborg' ); ?> 37 37 </a> 38 38 </li> 39 39 <li class="menu-item<?php if ( true === $_is_bbpress ) : ?> current <?php endif; ?>"> 40 40 <a href="https://buddypress.org/support/"> 41 <?php _e( 'Forums', 'bborg' ); ?>41 <?php esc_html_e( 'Forums', 'bborg' ); ?> 42 42 </a> 43 43 </li> 44 44 <li class="menu-item <?php if ( true === $_is_download ) : ?> current <?php endif; ?>"> 45 45 <a href="https://buddypress.org/download/"> 46 <?php _e( 'Download', 'bborg' ); ?>46 <?php esc_html_e( 'Download', 'bborg' ); ?> 47 47 </a> 48 48 </li> -
sites/trunk/buddypress.org/public_html/wp-content/themes/buddypress-org/sidebar.php
r14401 r15179 24 24 25 25 <div> 26 <h2><?php _e( 'Forum Info', 'bporg' ); ?></h2>26 <h2><?php esc_html_e( 'Forum Info', 'bporg' ); ?></h2> 27 27 <ul class="forum-info"> 28 28 <?php bb_base_single_forum_description(); ?> … … 33 33 34 34 <div> 35 <h2><?php _e( 'Forum Feeds', 'bporg' ); ?></h2>35 <h2><?php esc_html_e( 'Forum Feeds', 'bporg' ); ?></h2> 36 36 <ul> 37 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/"><?php _e( 'Recent Posts', 'bporg' ); ?></a></li>38 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/?type=topic"><?php _e( 'Recent Topics', 'bporg' ); ?></a></li>37 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/"><?php esc_html_e( 'Recent Posts', 'bporg' ); ?></a></li> 38 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/?type=topic"><?php esc_html_e( 'Recent Topics', 'bporg' ); ?></a></li> 39 39 </ul> 40 40 </div> … … 43 43 44 44 <div> 45 <h2><?php _e( 'Topic Info', 'bporg' ); ?></h2>45 <h2><?php esc_html_e( 'Topic Info', 'bporg' ); ?></h2> 46 46 <ul class="topic-info"> 47 47 <?php bb_base_single_topic_description(); ?> … … 76 76 77 77 <div> 78 <h2><?php _e( 'Forums', 'bporg' ); ?></h2>78 <h2><?php esc_html_e( 'Forums', 'bporg' ); ?></h2> 79 79 <?php echo do_shortcode( '[bbp-forum-index]' ); ?> 80 80 </div> … … 82 82 83 83 <div> 84 <h2><?php _e( 'Views', 'bporg' ); ?></h2>84 <h2><?php esc_html_e( 'Views', 'bporg' ); ?></h2> 85 85 <ul> 86 86 … … 95 95 96 96 <div> 97 <h2><?php _e( 'Feeds', 'bporg' ); ?></h2>97 <h2><?php esc_html_e( 'Feeds', 'bporg' ); ?></h2> 98 98 <ul> 99 <li><a class="feed" href="<?php bbp_forums_url(); ?>feed/"><?php _e( 'All Recent Posts', 'bporg' ); ?></a></li>100 <li><a class="feed" href="<?php bbp_topics_url(); ?>feed/"><?php _e( 'All Recent Topics', 'bporg' ); ?></a></li>99 <li><a class="feed" href="<?php bbp_forums_url(); ?>feed/"><?php esc_html_e( 'All Recent Posts', 'bporg' ); ?></a></li> 100 <li><a class="feed" href="<?php bbp_topics_url(); ?>feed/"><?php esc_html_e( 'All Recent Topics', 'bporg' ); ?></a></li> 101 101 </ul> 102 102 </div> 103 103 104 104 <div class="bbp-topic-tag-cloud"> 105 <h2><?php _e( 'Tags', 'bporg' ); ?></h2>105 <h2><?php esc_html_e( 'Tags', 'bporg' ); ?></h2> 106 106 <?php echo do_shortcode( '[bbp-topic-tags]' ); ?> 107 107 </div> … … 114 114 115 115 <div> 116 <h2><?php _e( 'Legacy', 'bporg' ); ?></h2>116 <h2><?php esc_html_e( 'Legacy', 'bporg' ); ?></h2> 117 117 <ul> 118 <li><a href="https://buddypress.org/support/forum/plugin-forums/"><?php _e( 'Legacy Plugin Forums', 'bporg' ); ?></a></li>118 <li><a href="https://buddypress.org/support/forum/plugin-forums/"><?php esc_html_e( 'Legacy Plugin Forums', 'bporg' ); ?></a></li> 119 119 </ul> 120 120 </div> … … 123 123 124 124 <div> 125 <h2><?php _e( 'Categories', 'bporg' ); ?></h2>125 <h2><?php esc_html_e( 'Categories', 'bporg' ); ?></h2> 126 126 <ul> 127 127 <?php wp_list_categories( array( 'title_li' => false ) ); ?> … … 130 130 131 131 <div> 132 <h2><?php _e( 'Tags', 'bporg' ); ?></h2>132 <h2><?php esc_html_e( 'Tags', 'bporg' ); ?></h2> 133 133 <?php wp_tag_cloud(); ?> 134 134 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-bbpress-org/footer.php
r14291 r15179 8 8 <div class="links"> 9 9 <p> 10 <a href="https://wordpress.org"><?php _e( 'WordPress.org', 'bbporg'); ?></a>11 <a href="https://bbpress.org"><?php _e( 'bbPress.org', 'bbporg'); ?></a>12 <a href="https://buddypress.org"><?php _e( 'BuddyPress.org', 'bbporg'); ?></a>13 <a href="https://ma.tt"><?php _e( 'Matt', 'bbporg' ); ?></a>14 <a href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php esc_attr_e( 'RSS Feed for Articles', 'bbporg' ); ?>"><?php _e( 'Blog RSS', 'bbporg' ); ?></a>10 <a href="https://wordpress.org"><?php esc_html_e( 'WordPress.org', 'bbporg' ); ?></a> 11 <a href="https://bbpress.org"><?php esc_html_e( 'bbPress.org', 'bbporg' ); ?></a> 12 <a href="https://buddypress.org"><?php esc_html_e( 'BuddyPress.org', 'bbporg' ); ?></a> 13 <a href="https://ma.tt"><?php esc_html_e( 'Matt', 'bbporg' ); ?></a> 14 <a href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php esc_attr_e( 'RSS Feed for Articles', 'bbporg' ); ?>"><?php esc_html_e( 'Blog RSS', 'bbporg' ); ?></a> 15 15 </p> 16 16 </div> 17 17 <div class="details"> 18 18 <p> 19 <a href="https://bbpress.org/about/gpl/"><?php _e('GPL', 'bbporg'); ?></a>20 <a href="https://bbpress.org/contact/"><?php _e('Contact Us', 'bbporg'); ?></a>21 <a href="https://wordpress.org/about/privacy/"><?php _e('Privacy', 'bbporg'); ?></a>22 <a href="https://bbpress.org/terms/"><?php _e('Terms of Service', 'bbporg'); ?></a>23 <a href="https://x.com/bbpress"><?php _e( 'X', 'bbporg'); ?></a>19 <a href="https://bbpress.org/about/gpl/"><?php esc_html_e( 'GPL', 'bbporg' ); ?></a> 20 <a href="https://bbpress.org/contact/"><?php esc_html_e( 'Contact Us', 'bbporg' ); ?></a> 21 <a href="https://wordpress.org/about/privacy/"><?php esc_html_e( 'Privacy', 'bbporg' ); ?></a> 22 <a href="https://bbpress.org/terms/"><?php esc_html_e( 'Terms of Service', 'bbporg' ); ?></a> 23 <a href="https://x.com/bbpress"><?php esc_html_e( 'X', 'bbporg' ); ?></a> 24 24 </p> 25 25 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-bbpress-org/index.php
r14291 r15179 3 3 <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> 4 4 <cite><?php 5 /* translators: 1: post date, 2: post author */ 6 printf( __( 'Published on %1$s by %2$s', 'bbporg' ), 7 get_the_time( 'F jS, Y' ), 8 get_the_author_link() 5 printf( 6 /* translators: 1: Publication date, 2: Author link. */ 7 esc_html__( 'Published on %1$s by %2$s', 'bbporg' ), 8 esc_html( get_the_time( 'F jS, Y' ) ), 9 wp_kses_post( get_the_author_link() ) 9 10 ); 10 11 ?></cite> … … 13 14 14 15 <?php else : ?> 15 <p><em><?php _e( 'Sorry, no posts matched your criteria.' ); ?></em></p>16 <p><em><?php esc_html_e( 'Sorry, no posts matched your criteria.' ); ?></em></p> 16 17 <?php endif; ?> 17 18 <?php posts_nav_link(' — ', __('Newer →'), __('← Older') ); ?> -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/activity-entry.php
r442 r15179 29 29 30 30 <div class="activity-inreplyto"> 31 <strong><?php _e( 'In reply to', 'buddypress' ) ?></strong> - <?php bp_activity_parent_content()?> ·32 <a href="<?php bp_activity_thread_permalink() ?>" class="view" title="<?php esc_attr_e( 'Permalink', 'buddypress' ) ?>"><?php _e( 'View', 'buddypress' )?></a>31 <strong><?php esc_html_e( 'In reply to', 'buddypress' ); ?></strong> - <?php bp_activity_parent_content(); ?> · 32 <a href="<?php bp_activity_thread_permalink(); ?>" class="view" title="<?php esc_attr_e( 'Permalink', 'buddypress' ); ?>"><?php esc_html_e( 'View', 'buddypress' ); ?></a> 33 33 </div> 34 34 … … 40 40 <?php if ( !bp_get_activity_is_favorite() ) : ?> 41 41 42 <a href="<?php bp_activity_favorite_link() ?>" class="button fav" title="<?php esc_attr_e( 'Mark as Favorite', 'buddypress' ) ?>"><?php _e( 'Favorite', 'buddypress' )?></a>42 <a href="<?php bp_activity_favorite_link(); ?>" class="button fav" title="<?php esc_attr_e( 'Mark as Favorite', 'buddypress' ); ?>"><?php esc_html_e( 'Favorite', 'buddypress' ); ?></a> 43 43 44 44 <?php else : ?> 45 45 46 <a href="<?php bp_activity_unfavorite_link() ?>" class="button unfav" title="<?php esc_attr_e( 'Remove Favorite', 'buddypress' ) ?>"><?php _e( 'Remove Favorite', 'buddypress' )?></a>46 <a href="<?php bp_activity_unfavorite_link(); ?>" class="button unfav" title="<?php esc_attr_e( 'Remove Favorite', 'buddypress' ); ?>"><?php esc_html_e( 'Remove Favorite', 'buddypress' ); ?></a> 47 47 48 48 <?php endif; ?> … … 51 51 <?php if ( bp_get_activity_type() == 'new_forum_topic' || bp_get_activity_type() == 'new_forum_reply' ) : ?> 52 52 53 <a href="<?php bp_activity_thread_permalink() ?>" class="button view-thread"><?php_e( 'View Topic' ); ?></a>53 <a href="<?php bp_activity_thread_permalink(); ?>" class="button view-thread"><?php esc_html_e( 'View Topic' ); ?></a> 54 54 55 55 <?php else : ?> … … 57 57 <?php if ( is_user_logged_in() && bp_activity_can_comment() ) : ?> 58 58 59 <a href="<?php bp_activity_comment_link() ?>" class="button acomment-reply" id="acomment-comment-<?php bp_activity_id() ?>"><?php _e( 'Comment', 'buddypress' ) ?> (<span><?php bp_activity_comment_count()?></span>)</a>59 <a href="<?php bp_activity_comment_link(); ?>" class="button acomment-reply" id="acomment-comment-<?php bp_activity_id(); ?>"><?php esc_html_e( 'Comment', 'buddypress' ); ?> (<span><?php bp_activity_comment_count(); ?></span>)</a> 60 60 61 61 <?php endif; ?> … … 88 88 <textarea id="ac-input-<?php bp_activity_id() ?>" class="ac-input" name="ac_input_<?php bp_activity_id() ?>"></textarea> 89 89 </div> 90 <input type="submit" name="ac_form_submit" value="<?php esc_attr_e( 'Post', 'buddypress' ) ?> →" /> <?php _e( 'or press esc to cancel.', 'buddypress' )?>90 <input type="submit" name="ac_form_submit" value="<?php esc_attr_e( 'Post', 'buddypress' ); ?> →" /> <?php esc_html_e( 'or press esc to cancel.', 'buddypress' ); ?> 91 91 <input type="hidden" name="comment_form_id" value="<?php bp_activity_id() ?>" /> 92 92 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/footer.php
r14286 r15179 11 11 <div class="links"> 12 12 <p> 13 <a href="https://wordpress.org"><?php _e( 'WordPress.org', 'bporg' ); ?></a>14 <a href="https://bbpress.org"><?php _e( 'bbPress.org', 'bporg' ); ?></a>15 <a href="https://buddypress.org"><?php _e( 'BuddyPress.org', 'bporg' ); ?></a>16 <a href="https://ma.tt"><?php _e( 'Matt', 'bporg' ); ?></a>17 <a href="<?php bloginfo( 'rss2_url' ); ?>"><?php _e( 'Blog RSS', 'bporg' ); ?></a>13 <a href="https://wordpress.org"><?php esc_html_e( 'WordPress.org', 'bporg' ); ?></a> 14 <a href="https://bbpress.org"><?php esc_html_e( 'bbPress.org', 'bporg' ); ?></a> 15 <a href="https://buddypress.org"><?php esc_html_e( 'BuddyPress.org', 'bporg' ); ?></a> 16 <a href="https://ma.tt"><?php esc_html_e( 'Matt', 'bporg' ); ?></a> 17 <a href="<?php bloginfo( 'rss2_url' ); ?>"><?php esc_html_e( 'Blog RSS', 'bporg' ); ?></a> 18 18 </p> 19 19 </div> 20 20 <div class="details"> 21 21 <p> 22 <a href="https://buddypress.org/about/gpl/"><?php _e( 'GPL', 'bporg' ); ?></a>23 <a href="https://buddypress.org/contact/"><?php _e( 'Contact Us', 'bporg' ); ?></a>24 <a href="https://wordpress.org/about/privacy/"><?php _e('Privacy', 'bbporg'); ?></a>25 <a href="https://buddypress.org/terms/"><?php _e( 'Terms of Service', 'bporg' ); ?></a>26 <a href="https://x.com/buddypressdev"><?php _e( 'X', 'bporg' ); ?></a>22 <a href="https://buddypress.org/about/gpl/"><?php esc_html_e( 'GPL', 'bporg' ); ?></a> 23 <a href="https://buddypress.org/contact/"><?php esc_html_e( 'Contact Us', 'bporg' ); ?></a> 24 <a href="https://wordpress.org/about/privacy/"><?php esc_html_e( 'Privacy', 'bbporg' ); ?></a> 25 <a href="https://buddypress.org/terms/"><?php esc_html_e( 'Terms of Service', 'bporg' ); ?></a> 26 <a href="https://x.com/buddypressdev"><?php esc_html_e( 'X', 'bporg' ); ?></a> 27 27 </p> 28 28 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/header-nav.php
r14286 r15179 14 14 <li class="menu-item<?php if ( true === $_is_about ) : ?> current <?php endif; ?>"> 15 15 <a href="https://buddypress.org/about/"> 16 <?php _e( 'About', 'bborg' ); ?>16 <?php esc_html_e( 'About', 'bborg' ); ?> 17 17 </a> 18 18 </li> 19 19 <li class="menu-item<?php if ( true === $_is_news ) : ?> current <?php endif; ?>"> 20 20 <a href="https://buddypress.org/blog/"> 21 <?php _e( 'News', 'bborg' ); ?>21 <?php esc_html_e( 'News', 'bborg' ); ?> 22 22 </a> 23 23 </li> 24 24 <li class="menu-item<?php if ( true === $_is_codex ) : ?> current <?php endif; ?>"> 25 25 <a href="https://codex.buddypress.org/"> 26 <?php _e( 'Codex', 'bborg' ); ?>26 <?php esc_html_e( 'Codex', 'bborg' ); ?> 27 27 </a> 28 28 </li> 29 29 <li class="menu-item"> 30 30 <a href="https://developer.buddypress.org"> 31 <?php _e( 'Develop', 'bborg' ); ?>31 <?php esc_html_e( 'Develop', 'bborg' ); ?> 32 32 </a> 33 33 </li> 34 34 <li class="menu-item"> 35 35 <a href="https://buddypress.trac.wordpress.org"> 36 <?php _e( 'Make', 'bborg' ); ?>36 <?php esc_html_e( 'Make', 'bborg' ); ?> 37 37 </a> 38 38 </li> 39 39 <li class="menu-item<?php if ( true === $_is_bbpress ) : ?> current <?php endif; ?>"> 40 40 <a href="https://buddypress.org/support/"> 41 <?php _e( 'Forums', 'bborg' ); ?>41 <?php esc_html_e( 'Forums', 'bborg' ); ?> 42 42 </a> 43 43 </li> 44 44 <li class="menu-item <?php if ( true === $_is_download ) : ?> current <?php endif; ?>"> 45 45 <a href="https://buddypress.org/download/"> 46 <?php _e( 'Download', 'bborg' ); ?>46 <?php esc_html_e( 'Download', 'bborg' ); ?> 47 47 </a> 48 48 </li> -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/index.php
r14286 r15179 3 3 <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> 4 4 <cite><?php 5 /* translators: 1: post date, 2: post author */ 6 printf( __( 'Published on %1$s by %2$s', 'bporg' ), 7 get_the_time( 'F jS, Y' ), 8 get_the_author_link() 5 printf( 6 /* translators: 1: Publication date, 2: Author link. */ 7 esc_html__( 'Published on %1$s by %2$s', 'bporg' ), 8 esc_html( get_the_time( 'F jS, Y' ) ), 9 wp_kses_post( get_the_author_link() ) 9 10 ); 10 11 ?></cite> … … 13 14 14 15 <?php else : ?> 15 <p><em><?php _e( 'Sorry, no posts matched your criteria.' ); ?></em></p>16 <p><em><?php esc_html_e( 'Sorry, no posts matched your criteria.' ); ?></em></p> 16 17 <?php endif; ?> 17 18 <?php posts_nav_link(' — ', __('Newer →'), __('← Older') ); ?> -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/widgets/inbox.php
r10135 r15179 10 10 extract( $args ); 11 11 echo $before_widget; 12 echo $before_title . __( 'Inbox', 'bp-follow' ) . ' · <a href="' . esc_url( $bp->loggedin_user->domain . 'messages/inbox/' ) . '">View All</a>' . $after_title; ?>12 echo wp_kses_post( $before_title ) . esc_html__( 'Inbox', 'bp-follow' ) . ' · <a href="' . esc_url( $bp->loggedin_user->domain . 'messages/inbox/' ) . '">View All</a>' . wp_kses_post( $after_title ); ?> 13 13 14 14 <?php if ( bp_has_message_threads( 'per_page=5&max=5' ) ) : ?> … … 21 21 <div class="details"> 22 22 <a class="title" href="<?php bp_message_thread_view_link() ?>" title="<?php esc_attr_e( "View Message", "buddypress" ); ?>"><?php bp_message_thread_subject() ?></a> 23 <div class="meta"><?php _e( 'From:', 'buddypress' ); ?> <?php bp_message_thread_from() ?> · <?php bp_message_thread_last_post_date()?></div>23 <div class="meta"><?php esc_html_e( 'From:', 'buddypress' ); ?> <?php bp_message_thread_from(); ?> · <?php bp_message_thread_last_post_date(); ?></div> 24 24 </div> 25 25 </li> -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/widgets/login.php
r15170 r15179 14 14 <?php 15 15 echo $before_widget; 16 echo $before_title . __( 'Logged In As', 'bp-follow' ) . $after_title; ?> 16 echo wp_kses_post( $before_title ) . esc_html__( 'Logged In As', 'bp-follow' ) . wp_kses_post( $after_title ); 17 ?> 17 18 18 19 <?php do_action( 'bp_before_sidebar_me' ) ?> … … 41 42 <?php 42 43 echo $before_widget; 43 echo $before_title . __( 'Log In', 'bp-follow' ) . $after_title; ?> 44 echo wp_kses_post( $before_title ) . esc_html__( 'Log In', 'bp-follow' ) . wp_kses_post( $after_title ); 45 ?> 44 46 45 47 <p id="login-text"> 46 <?php _e( 'To start connecting please log in first.', 'buddypress' )?>48 <?php esc_html_e( 'To start connecting please log in first.', 'buddypress' ); ?> 47 49 <?php if ( bp_get_signup_allowed() ) : ?> 48 50 <?php … … 54 56 55 57 <form name="login-form" id="sidebar-login-form" class="standard-form" action="<?php echo esc_url( site_url( 'wp-login.php', 'login_post' ) ); ?>" method="post"> 56 <label><?php _e( 'Username', 'buddypress' )?><br />58 <label><?php esc_html_e( 'Username', 'buddypress' ); ?><br /> 57 59 <input type="text" name="log" id="sidebar-user-login" class="input" value="<?php echo attribute_escape(stripslashes($user_login)); ?>" /></label> 58 60 59 <label><?php _e( 'Password', 'buddypress' )?><br />61 <label><?php esc_html_e( 'Password', 'buddypress' ); ?><br /> 60 62 <input type="password" name="pwd" id="sidebar-user-pass" class="input" value="" /></label> 61 63 62 <p class="forgetmenot"><label><input name="rememberme" type="checkbox" id="sidebar-rememberme" value="forever" /> <?php _e( 'Remember Me', 'buddypress' )?></label></p>64 <p class="forgetmenot"><label><input name="rememberme" type="checkbox" id="sidebar-rememberme" value="forever" /> <?php esc_html_e( 'Remember Me', 'buddypress' ); ?></label></p> 63 65 64 66 <?php do_action( 'bp_sidebar_login_form' ) ?> -
sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/downloads/rosetta-downloads.php
r14603 r15179 140 140 ?> 141 141 <div class="wrap"> 142 <h2><?php _e( 'Download Stats', 'rosetta' ); ?></h2>142 <h2><?php esc_html_e( 'Download Stats', 'rosetta' ); ?></h2> 143 143 <p> 144 144 <?php 145 145 printf( 146 __( 'This page shows the <a href="%s">Download Counter</a> number — total downloads of WordPress %s — broken down by locale.', 'rosetta' ), 146 /* translators: 1: Download counter URL, 2: WordPress version. */ 147 wp_kses_post( __( 'This page shows the <a href="%1$s">Download Counter</a> number — total downloads of WordPress %2$s — broken down by locale.', 'rosetta' ) ), 147 148 'https://wordpress.org/download/counter/', 148 149 esc_html( WP_CORE_STABLE_BRANCH ) … … 154 155 <thead> 155 156 <tr> 156 <th scope="col"><?php _e( 'Locale', 'rosetta' ); ?></th>157 <th scope="col" style="text-align:right"><?php _e( 'Release Package', 'rosetta' ); ?></th>158 <th scope="col" style="text-align:right"><?php _e( 'Language Pack', 'rosetta' ); ?></th>157 <th scope="col"><?php esc_html_e( 'Locale', 'rosetta' ); ?></th> 158 <th scope="col" style="text-align:right"><?php esc_html_e( 'Release Package', 'rosetta' ); ?></th> 159 <th scope="col" style="text-align:right"><?php esc_html_e( 'Language Pack', 'rosetta' ); ?></th> 159 160 </tr> 160 161 </thead> … … 163 164 <tr> 164 165 <td> 165 <strong><?php _ex( 'All', 'locales', 'rosetta' ); ?></strong>166 <strong><?php echo esc_html_x( 'All', 'locales', 'rosetta' ); ?></strong> 166 167 </td> 167 168 <td style="text-align:right"> … … 177 178 <tfoot> 178 179 <tr> 179 <th scope="col" style="width:80px"><?php _e( 'Locale', 'rosetta' ); ?></th>180 <th scope="col" style="text-align:right"><?php _e( 'Release Package', 'rosetta' ); ?></th>181 <th scope="col" style="text-align:right"><?php _e( 'Language Pack', 'rosetta' ); ?></th>180 <th scope="col" style="width:80px"><?php esc_html_e( 'Locale', 'rosetta' ); ?></th> 181 <th scope="col" style="text-align:right"><?php esc_html_e( 'Release Package', 'rosetta' ); ?></th> 182 <th scope="col" style="text-align:right"><?php esc_html_e( 'Language Pack', 'rosetta' ); ?></th> 182 183 </tr> 183 184 </tfoot> -
sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/class-translation-editors-list-table.php
r6684 r15179 107 107 */ 108 108 public function no_items() { 109 _e( 'No translation editors were found.', 'rosetta' );109 esc_html_e( 'No translation editors were found.', 'rosetta' ); 110 110 } 111 111 … … 270 270 if ( $this->user_can_promote ) { 271 271 ?> 272 <label class="screen-reader-text" for="cb-select-<?php echo $user->ID; ?>"><?php_e( 'Select translation editor', 'rosetta' ); ?></label>272 <label class="screen-reader-text" for="cb-select-<?php echo (int) $user->ID; ?>"><?php esc_html_e( 'Select translation editor', 'rosetta' ); ?></label> 273 273 <input id="cb-select-<?php echo $user->ID; ?>" type="checkbox" name="translation-editors[]" value="<?php echo $user->ID; ?>"> 274 274 <?php … … 327 327 328 328 if ( empty( $project_access_list ) ) { 329 _e( 'No projects', 'rosetta' );329 esc_html_e( 'No projects', 'rosetta' ); 330 330 return; 331 331 } 332 332 333 333 if ( in_array( 'all', $project_access_list, true ) ) { 334 _e( 'All projects', 'rosetta' );334 esc_html_e( 'All projects', 'rosetta' ); 335 335 return; 336 336 } -
sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/views/cross-locale-pte.php
r4929 r15179 1 <?php 2 /** 3 * Admin view listing cross-locale project translation editors. 4 * 5 * @package Rosetta 6 */ 7 8 ?> 1 9 <div class="wrap"> 2 10 <h2> 3 <?php _e( 'Cross-Locale PTEs', 'rosetta' ); ?>11 <?php esc_html_e( 'Cross-Locale PTEs', 'rosetta' ); ?> 4 12 </h2> 5 13 6 14 <?php echo $feedback_message; ?> 7 15 8 <p><?php _e( 'This is the list of our current Cross-Locale PTEs.', 'rosetta' ); ?></p>16 <p><?php esc_html_e( 'This is the list of our current Cross-Locale PTEs.', 'rosetta' ); ?></p> 9 17 <table class="wp-list-table widefat fixed striped translation-editors"> 10 18 <thead> … … 41 49 42 50 <?php if ( current_user_can( Rosetta_Roles::MANAGE_TRANSLATION_EDITORS_CAP ) ) : ?> 43 <h3><?php _e( 'Add Cross-Locale PTE', 'rosetta' ); ?></h3>44 <p><?php _e( 'Enter the email address or username of an existing user on wordpress.org.', 'rosetta' ); ?></p>51 <h3><?php esc_html_e( 'Add Cross-Locale PTE', 'rosetta' ); ?></h3> 52 <p><?php esc_html_e( 'Enter the email address or username of an existing user on wordpress.org.', 'rosetta' ); ?></p> 45 53 <form action="" method="post"> 46 54 <table class="form-table"> 47 55 <tr> 48 <th scope="row"><label for="user"><?php _e( 'E-mail or Username', 'rosetta' ); ?></label></th>56 <th scope="row"><label for="user"><?php esc_html_e( 'E-mail or Username', 'rosetta' ); ?></label></th> 49 57 <td><input type="text" class="regular-text" name="user" id="user"></td> 50 58 </tr> -
sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/views/edit-cross-locale-pte.php
r11376 r15179 1 <?php 2 /** 3 * Admin view for editing a cross-locale project translation editor. 4 * 5 * @package Rosetta 6 */ 7 8 ?> 1 9 <div class="wrap"> 2 <h2><?php _e( 'Edit Cross-Locale PTE', 'rosetta' ); ?></h2>10 <h2><?php esc_html_e( 'Edit Cross-Locale PTE', 'rosetta' ); ?></h2> 3 11 4 12 <?php echo $feedback_message; ?> … … 7 15 printf( 8 16 /* translators: %s: WP.org profile link */ 9 __( 'You are currently editing the user %s.', 'rosetta' ),17 esc_html__( 'You are currently editing the user %s.', 'rosetta' ), 10 18 sprintf( '<a href="%1$s">%2$s</a>', 11 19 'https://profiles.wordpress.org/' . $user->user_nicename . '/', … … 20 28 <tr> 21 29 <th scope="row"> 22 <?php _e( 'Add cross-locale PTE access for:', 'rosetta' ); ?><br>30 <?php esc_html_e( 'Add cross-locale PTE access for:', 'rosetta' ); ?><br> 23 31 </th> 24 32 <td> 25 33 <fieldset id="projects"> 26 <legend class="screen-reader-text"><span><?php _e( 'Add cross-locale PTE access for:', 'rosetta' ); ?></span></legend>34 <legend class="screen-reader-text"><span><?php esc_html_e( 'Add cross-locale PTE access for:', 'rosetta' ); ?></span></legend> 27 35 28 36 <ul id="projects-list" class="projects-list"> 29 37 <li id="project-loading" class="loading"> 30 <?php _e( 'Loading…', 'rosetta' ); ?>38 <?php esc_html_e( 'Loading…', 'rosetta' ); ?> 31 39 </li> 32 40 </ul> 33 41 </fieldset> 34 <p class="description"><?php _e( 'Each project includes sub projects and newly-added sub projects.', 'rosetta' ); ?></p>42 <p class="description"><?php esc_html_e( 'Each project includes sub projects and newly-added sub projects.', 'rosetta' ); ?></p> 35 43 </td> 36 44 </tr> -
sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/views/edit-translation-editor.php
r11376 r15179 1 <?php 2 /** 3 * Admin view for editing a translation editor. 4 * 5 * @package Rosetta 6 */ 7 8 ?> 1 9 <div class="wrap"> 2 <h2><?php _e( 'Edit Translation Editor', 'rosetta' ); ?></h2>10 <h2><?php esc_html_e( 'Edit Translation Editor', 'rosetta' ); ?></h2> 3 11 4 12 <?php echo $feedback_message; ?> … … 8 16 printf( 9 17 /* translators: %s: WP.org profile link */ 10 __( 'You are currently editing the user %s.', 'rosetta' ),18 esc_html__( 'You are currently editing the user %s.', 'rosetta' ), 11 19 sprintf( '<a href="%1$s">%2$s</a>', 12 20 'https://profiles.wordpress.org/' . $user->user_nicename . '/', … … 21 29 <tr> 22 30 <th scope="row"> 23 <?php _e( 'Add editor access for:', 'rosetta' ); ?><br>31 <?php esc_html_e( 'Add editor access for:', 'rosetta' ); ?><br> 24 32 </th> 25 33 <td> 26 34 <fieldset id="projects"> 27 <legend class="screen-reader-text"><span><?php _e( 'Add editor access for:', 'rosetta' ); ?></span></legend>35 <legend class="screen-reader-text"><span><?php esc_html_e( 'Add editor access for:', 'rosetta' ); ?></span></legend> 28 36 29 37 <ul id="projects-list" class="projects-list"> 30 38 <li id="project-all" class="active"> 31 39 <label> 32 <input type="checkbox"<?php checked( in_array( 'all', $project_access_list ) ); ?>> <?php _e( 'All projects', 'rosetta' ); ?>40 <input type="checkbox"<?php checked( in_array( 'all', $project_access_list ) ); ?>> <?php esc_html_e( 'All projects', 'rosetta' ); ?> 33 41 </label> 34 42 <div class="sub-projects-wrapper"> 35 <?php _e( 'The translation editor has validation permissions for all projects, including newly-added projects.', 'rosetta' ); ?>43 <?php esc_html_e( 'The translation editor has validation permissions for all projects, including newly-added projects.', 'rosetta' ); ?> 36 44 </div> 37 45 </li> 38 46 <li id="project-loading" class="loading"> 39 <?php _e( 'Loading…', 'rosetta' ); ?>47 <?php esc_html_e( 'Loading…', 'rosetta' ); ?> 40 48 </li> 41 49 </ul> 42 50 </fieldset> 43 <p class="description"><?php _e( 'Each project includes sub projects and newly-added sub projects.', 'rosetta' ); ?></p>51 <p class="description"><?php esc_html_e( 'Each project includes sub projects and newly-added sub projects.', 'rosetta' ); ?></p> 44 52 </td> 45 53 </tr> -
sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/views/translation-editors.php
r2750 r15179 2 2 <h2> 3 3 <?php 4 _e( 'Translation Editors', 'rosetta' );4 esc_html_e( 'Translation Editors', 'rosetta' ); 5 5 6 6 if ( ! empty( $_REQUEST['s'] ) ) { 7 echo '<span class="subtitle">' . sprintf( __( 'Search results for “%s”', 'rosetta' ), esc_html( wp_unslash( $_REQUEST['s'] ) ) ) . '</span>'; 7 /* translators: %s: Search term. */ 8 echo '<span class="subtitle">' . sprintf( esc_html__( 'Search results for “%s”', 'rosetta' ), esc_html( wp_unslash( $_REQUEST['s'] ) ) ) . '</span>'; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Escaped for display. 8 9 } 9 10 ?> … … 24 25 25 26 <?php if ( current_user_can( Rosetta_Roles::MANAGE_TRANSLATION_EDITORS_CAP ) ) : ?> 26 <h3><?php _e( 'Add Translation Editor', 'rosetta' ); ?></h3>27 <p><?php _e( 'Enter the email address or username of an existing user on wordpress.org.', 'rosetta' ); ?></p>27 <h3><?php esc_html_e( 'Add Translation Editor', 'rosetta' ); ?></h3> 28 <p><?php esc_html_e( 'Enter the email address or username of an existing user on wordpress.org.', 'rosetta' ); ?></p> 28 29 <form action="" method="post"> 29 30 <table class="form-table"> 30 31 <tr> 31 <th scope="row"><label for="user"><?php _e( 'E-mail or Username', 'rosetta' ); ?></label></th>32 <th scope="row"><label for="user"><?php esc_html_e( 'E-mail or Username', 'rosetta' ); ?></label></th> 32 33 <td><input type="text" class="regular-text" name="user" id="user"></td> 33 34 </tr> 34 35 <tr> 35 <th scope="row"><label for="user"><?php _e( 'Add editor access for:', 'rosetta' ); ?></label></th>36 <th scope="row"><label for="user"><?php esc_html_e( 'Add editor access for:', 'rosetta' ); ?></label></th> 36 37 <td> 37 38 <fieldset> 38 <legend class="screen-reader-text"><?php _e( 'Add editor access for:', 'rosetta' ); ?></legend>39 <legend class="screen-reader-text"><?php esc_html_e( 'Add editor access for:', 'rosetta' ); ?></legend> 39 40 <label for="custom-projects"> 40 <input type="radio" name="projects" value="custom" id="custom-projects" checked> <?php _e( 'Custom – After the user is added you will be redirected to set the projects.', 'rosetta' ); ?>41 <input type="radio" name="projects" value="custom" id="custom-projects" checked> <?php esc_html_e( 'Custom – After the user is added you will be redirected to set the projects.', 'rosetta' ); ?> 41 42 </label> 42 43 <br> 43 44 <label for="all-projects" > 44 <input type="radio" name="projects" value="all" id="all-projects"> <?php _e( 'All projects – If selected, translation editor will have validation permissions for all projects, including newly-added projects.', 'rosetta' ); ?>45 <input type="radio" name="projects" value="all" id="all-projects"> <?php esc_html_e( 'All projects – If selected, translation editor will have validation permissions for all projects, including newly-added projects.', 'rosetta' ); ?> 45 46 </label> 46 47 </fieldset> -
sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/showcase/rosetta-showcase.php
r15170 r15179 126 126 $url = get_post_meta( $post->ID, '_rosetta_showcase_url', true ); 127 127 ?> 128 <p><label for="rosetta_showcase_url"><?php _e( 'URL', 'rosetta' ); ?></label>128 <p><label for="rosetta_showcase_url"><?php esc_html_e( 'URL', 'rosetta' ); ?></label> 129 129 <input style="margin-left: 0; width: 98%" name="rosetta_showcase_url" id="rosetta_showcase_url" type="text" value="<?php echo esc_url( $url ); ?>" /></p> 130 <label for="excerpt"><?php _e( 'Description', 'rosetta' ); ?></label>131 <textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt; // textarea_escaped?></textarea>130 <label for="excerpt"><?php esc_html_e( 'Description', 'rosetta' ); ?></label> 131 <textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- The classic editor supplies an edit-context post; format_to_edit() has already escaped the excerpt for this textarea. ?></textarea> 132 132 <?php 133 133 } -
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/404.php
r2249 r15179 3 3 <div id="headline"> 4 4 <div class="wrapper"> 5 <h2><?php _e( 'Page Not Found', 'rosetta' ); ?></h2>5 <h2><?php esc_html_e( 'Page Not Found', 'rosetta' ); ?></h2> 6 6 </div> 7 7 </div> … … 10 10 <div class="wrapper"> 11 11 <div class="col-12" role="main"> 12 <p class="intro"><?php _e( 'The page you were looking for could not be found. I’m sorry, it’s not your fault… probably.', 'rosetta' ); ?></p>12 <p class="intro"><?php esc_html_e( 'The page you were looking for could not be found. I’m sorry, it’s not your fault… probably.', 'rosetta' ); ?></p> 13 13 </div> 14 14 </div> -
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/archive.php
r2249 r15179 1 <?php 2 /** 3 * The template for displaying archive pages. 4 * 5 * @package Rosetta 6 */ 7 8 ?> 1 9 <?php get_header(); ?> 2 10 … … 9 17 $blog_url = home_url( '/#blog' ); 10 18 if ( 'page' === get_option( 'show_on_front' ) ) { 11 $blog_url = get_permalink( get_option( 'page_for_posts' ) );19 $blog_url = get_permalink( get_option( 'page_for_posts' ) ); 12 20 } 13 21 ?> 14 <p><a href="<?php echo esc_url( $blog_url ); ?>"><?php _e( '« Back to blog', 'rosetta' ); ?></a></p>22 <p><a href="<?php echo esc_url( $blog_url ); ?>"><?php esc_html_e( '« Back to blog', 'rosetta' ); ?></a></p> 15 23 16 24 <table class="widefat" > … … 18 26 $i = 0; 19 27 if ( have_posts() ) : 20 while ( have_posts() ) : the_post(); 28 while ( have_posts() ) : 29 the_post(); 21 30 $i++; 22 31 ?> 23 <tr <?php if ( $i % 2 ) echo ' class="alt" '; ?>> 32 <tr 33 <?php 34 if ( $i % 2 ) { 35 echo ' class="alt" ';} 36 ?> 37 > 24 38 <th> 25 <?php the_date( '', '<span class="date">', '</span>' ); ?>39 <?php the_date( '', '<span class="date">', '</span>' ); ?> 26 40 </th> 27 41 <td> 28 <a href="<?php the_permalink() ?>"><?php the_title(); ?></a>42 <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> 29 43 </td> 30 44 </tr> … … 33 47 else : 34 48 ?> 35 <p><?php _e( 'Sorry, no posts matched your criteria.', 'rosetta' ); ?></p>49 <p><?php esc_html_e( 'Sorry, no posts matched your criteria.', 'rosetta' ); ?></p> 36 50 <?php 37 51 endif; … … 46 60 </div> 47 61 48 <?php get_footer(); 62 <?php 63 get_footer(); -
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/comments.php
r1615 r15179 1 1 <?php 2 /** 3 * The template for displaying comments. 4 * 5 * @package Rosetta 6 */ 7 2 8 /* 3 9 * If the current post is protected by a password and … … 15 21 <h2 class="comments-title"> 16 22 <?php 17 printf( _nx( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', 'rosetta' ), 18 number_format_i18n( get_comments_number() ), get_the_title() ); 23 printf( 24 /* translators: 1: Number of comments, 2: Post title. */ 25 esc_html( _nx( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', 'rosetta' ) ), // phpcs:ignore WordPress.WP.I18n.MissingSingularPlaceholder -- The singular form carries no count. 26 esc_html( number_format_i18n( get_comments_number() ) ), 27 esc_html( get_the_title() ) 28 ); 19 29 ?> 20 30 </h2> … … 22 32 <ol class="comment-list"> 23 33 <?php 24 wp_list_comments( array( 25 'style' => 'ol', 26 'short_ping' => true, 27 'avatar_size' => 56, 28 ) ); 34 wp_list_comments( 35 array( 36 'style' => 'ol', 37 'short_ping' => true, 38 'avatar_size' => 56, 39 ) 40 ); 29 41 ?> 30 42 </ol> … … 34 46 <?php 35 47 // If comments are closed and there are comments, let's leave a little note, shall we? 36 if ( ! comments_open() && get_comments_number() ) :37 ?>38 <p class="no-comments"><?php _e( 'Comments are closed.', 'rosetta' ); ?></p>48 if ( ! comments_open() && get_comments_number() ) : 49 ?> 50 <p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'rosetta' ); ?></p> 39 51 <?php endif; ?> 40 52 -
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/contact.php
r2249 r15179 48 48 if ( $error ) { 49 49 ?> 50 <h3 id="return"><?php _e( 'Error', 'rosetta' ); ?></h3>51 <p class="error"><?php _e( 'There seems to have been a problem with the information you entered. Please fix the field indicated and resubmit.', 'rosetta' ); ?></p>50 <h3 id="return"><?php esc_html_e( 'Error', 'rosetta' ); ?></h3> 51 <p class="error"><?php esc_html_e( 'There seems to have been a problem with the information you entered. Please fix the field indicated and resubmit.', 'rosetta' ); ?></p> 52 52 <form id="contactme" method="post" action="/contact/#return"> 53 53 <table id="form"> … … 56 56 <tr class="error"> 57 57 <td class="label"> 58 <label for="your_name"><?php _e( 'Your Name:', 'rosetta' ); ?> </label>58 <label for="your_name"><?php esc_html_e( 'Your Name:', 'rosetta' ); ?> </label> 59 59 </td> 60 60 <td> 61 61 <span><input name="your_name" type="text" id="your_name" value="<?php echo esc_attr( $_POST['your_name'] ); ?>" /></span> 62 <?php _e( 'Let us know your name.', 'rosetta' ); ?>63 </td> 64 </tr> 65 <?php } else { ?> 66 <tr> 67 <td class="label"> 68 <label for="your_name"><?php _e( 'Your Name:', 'rosetta' ); ?></label>62 <?php esc_html_e( 'Let us know your name.', 'rosetta' ); ?> 63 </td> 64 </tr> 65 <?php } else { ?> 66 <tr> 67 <td class="label"> 68 <label for="your_name"><?php esc_html_e( 'Your Name:', 'rosetta' ); ?></label> 69 69 </td> 70 70 <td> … … 77 77 <tr class="error"> 78 78 <td class="label"> 79 <label for="your_email"><?php _e( 'Your Email:', 'rosetta' ); ?></label>79 <label for="your_email"><?php esc_html_e( 'Your Email:', 'rosetta' ); ?></label> 80 80 </td> 81 81 <td> 82 82 <span><input name="your_email" type="text" id="your_email" value="<?php echo esc_attr( $_POST['your_email'] ); ?>" /></span> 83 <?php _e( 'Your email address did not appear to be valid. Please check it.', 'rosetta' ); ?>84 </td> 85 </tr> 86 <?php } else { ?> 87 <tr> 88 <td class="label"> 89 <label for="your_email"><?php _e( 'Your Email:', 'rosetta' ); ?></label>83 <?php esc_html_e( 'Your email address did not appear to be valid. Please check it.', 'rosetta' ); ?> 84 </td> 85 </tr> 86 <?php } else { ?> 87 <tr> 88 <td class="label"> 89 <label for="your_email"><?php esc_html_e( 'Your Email:', 'rosetta' ); ?></label> 90 90 </td> 91 91 <td> … … 97 97 <tr> 98 98 <td class="label"> 99 <label for="blog_url"><?php _e( 'URI of your blog:', 'rosetta' ); ?></label>99 <label for="blog_url"><?php esc_html_e( 'URI of your blog:', 'rosetta' ); ?></label> 100 100 </td> 101 101 <td> … … 107 107 <tr class="error"> 108 108 <td class="label"> 109 <label for="subject"><?php _e( 'What’s this about?', 'rosetta' ); ?></label>109 <label for="subject"><?php esc_html_e( 'What’s this about?', 'rosetta' ); ?></label> 110 110 </td> 111 111 <td> 112 112 <span><input name="subject" type="text" id="subject" value="<?php echo esc_attr( $_POST['subject'] ); ?>" /></span> 113 <?php _e( 'Write something!', 'rosetta' ); ?>114 </td> 115 </tr> 116 <?php } else { ?> 117 <tr> 118 <td class="label"> 119 <label for="subject"><?php _e('What’s this about?', 'rosetta'); ?></label>113 <?php esc_html_e( 'Write something!', 'rosetta' ); ?> 114 </td> 115 </tr> 116 <?php } else { ?> 117 <tr> 118 <td class="label"> 119 <label for="subject"><?php esc_html_e( 'What’s this about?', 'rosetta' ); ?></label> 120 120 </td> 121 121 <td> … … 128 128 <tr class="error"> 129 129 <td class="label"> 130 <label for="message"><?php _e('Your Message:', 'rosetta'); ?></label>130 <label for="message"><?php esc_html_e( 'Your Message:', 'rosetta' ); ?></label> 131 131 </td> 132 132 <td> 133 133 <span class="message"><textarea name="message" id="message"><?php echo esc_textarea( $_POST['message'] ); ?></textarea></span> 134 <?php _e( 'Say something!', 'rosetta' ); ?>135 </td> 136 </tr> 137 <?php } else { ?> 138 <tr> 139 <td class="label"> 140 <label for="message"><?php _e( 'Your Message:', 'rosetta' ); ?></label>134 <?php esc_html_e( 'Say something!', 'rosetta' ); ?> 135 </td> 136 </tr> 137 <?php } else { ?> 138 <tr> 139 <td class="label"> 140 <label for="message"><?php esc_html_e( 'Your Message:', 'rosetta' ); ?></label> 141 141 </td> 142 142 <td> … … 204 204 ?> 205 205 <div id="return"> 206 <h3><?php _e( 'Submitted!', 'rosetta' ); ?></h3>207 <p><strong><?php _e( 'Thank you!', 'rosetta' ); ?></strong></p>206 <h3><?php esc_html_e( 'Submitted!', 'rosetta' ); ?></h3> 207 <p><strong><?php esc_html_e( 'Thank you!', 'rosetta' ); ?></strong></p> 208 208 </div> 209 209 <?php … … 213 213 214 214 if ( false !== strpos( get_the_content(), 'The contents of this page are filled automatically' ) ) : ?> 215 <p><?php _e( 'You can contact translators and this site administrators via this form:', 'rosetta'); ?></p>215 <p><?php esc_html_e( 'You can contact translators and this site administrators via this form:', 'rosetta' ); ?></p> 216 216 <?php /* translators: feel free to add links to places, where one can get support in your language. */ ?> 217 <p><?php _e( '<strong>Please, do not post support requests here!</strong> They will probably be ignored.', 'rosetta'); ?></p>217 <p><?php echo wp_kses_post( __( '<strong>Please, do not post support requests here!</strong> They will probably be ignored.', 'rosetta' ) ); ?></p> 218 218 <?php else: ?> 219 219 <?php the_content(); ?> … … 224 224 <tr> 225 225 <td class="label"> 226 <label for="your_name"><?php _e( 'Your Name:', 'rosetta' ); ?></label> <?php_e( '(required)', 'rosetta' ); ?>226 <label for="your_name"><?php esc_html_e( 'Your Name:', 'rosetta' ); ?></label> <?php esc_html_e( '(required)', 'rosetta' ); ?> 227 227 </td> 228 228 <td> … … 232 232 <tr> 233 233 <td class="label"> 234 <label for="your_email"><?php _e( 'Your Email:', 'rosetta' ); ?></label> <?php_e( '(required)', 'rosetta' ); ?>234 <label for="your_email"><?php esc_html_e( 'Your Email:', 'rosetta' ); ?></label> <?php esc_html_e( '(required)', 'rosetta' ); ?> 235 235 </td> 236 236 <td> … … 240 240 <tr> 241 241 <td class="label"> 242 <label for="blog_url"><?php _e( 'URI of your blog:', 'rosetta' ); ?></label>242 <label for="blog_url"><?php esc_html_e( 'URI of your blog:', 'rosetta' ); ?></label> 243 243 </td> 244 244 <td> … … 248 248 <tr> 249 249 <td class="label"> 250 <label for="subject"><?php _e( 'What’s this about?', 'rosetta' ); ?></label> <?php_e( '(required)', 'rosetta' ); ?>250 <label for="subject"><?php esc_html_e( 'What’s this about?', 'rosetta' ); ?></label> <?php esc_html_e( '(required)', 'rosetta' ); ?> 251 251 </td> 252 252 <td> … … 256 256 <tr> 257 257 <td class="label"> 258 <label for="message"><?php _e( 'Tell us something:', 'rosetta' ); ?></label> <?php_e( '(required)', 'rosetta' ); ?>258 <label for="message"><?php esc_html_e( 'Tell us something:', 'rosetta' ); ?></label> <?php esc_html_e( '(required)', 'rosetta' ); ?> 259 259 </td> 260 260 <td> -
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/download.php
r2249 r15179 23 23 rosetta_release_row( null, null, null, true ); 24 24 ?> 25 <h3 id="latest"><?php _e( 'Latest release', 'rosetta' ); ?></h3>25 <h3 id="latest"><?php esc_html_e( 'Latest release', 'rosetta' ); ?></h3> 26 26 <table class="releases latest"> 27 27 <?php echo rosetta_release_row( $releases['latest'], 'alt' ); ?> … … 36 36 rosetta_release_row( null, null, null, true ); 37 37 ?> 38 <h3><?php printf( __( '%s Branch', 'rosetta' ), $branch );?></h3> 38 <?php /* translators: %s: Branch number. */ ?> 39 <h3><?php printf( esc_html__( '%s Branch', 'rosetta' ), esc_html( $branch ) ); ?></h3> 39 40 <table class="releases"> 40 41 <?php … … 51 52 if ( ! empty( $releases['betas'] ) ): 52 53 ?> 53 <h3 id="betas"><?php _e( 'Beta & RC releases', 'rosetta' ); ?></h3>54 <h3 id="betas"><?php esc_html_e( 'Beta & RC releases', 'rosetta' ); ?></h3> 54 55 <table id="beta" class="releases"> 55 56 <?php … … 67 68 else: # no releases 68 69 ?> 69 <p><?php _e( 'There are no releases, yet.', 'rosetta' ); ?></p>70 <p><?php esc_html_e( 'There are no releases, yet.', 'rosetta' ); ?></p> 70 71 <?php endif; # if releases?> 71 72 </div> -
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/front-page.php
r15170 r15179 74 74 <div class="section"> 75 75 <div class="col-12"> 76 <h3><?php _e( 'Showcase', 'rosetta' ); ?></h3>76 <h3><?php esc_html_e( 'Showcase', 'rosetta' ); ?></h3> 77 77 <ul id="showcase"> 78 78 <?php … … 94 94 <?php echo esc_html( $item->post_title ); ?> 95 95 <br /> 96 <a class="showcase-url" href="<?php echo esc_url( $url ); ?>" rel="nofollow"><?php _e( 'Visit the site →', 'rosetta' ); ?></a>96 <a class="showcase-url" href="<?php echo esc_url( $url ); ?>" rel="nofollow"><?php esc_html_e( 'Visit the site →', 'rosetta' ); ?></a> 97 97 </li> 98 98 <?php … … 109 109 <div class="section"> 110 110 <div class="col-12"> 111 <h3><?php _e('Showcase', 'rosetta'); ?></h3>111 <h3><?php esc_html_e( 'Showcase', 'rosetta' ); ?></h3> 112 112 <span id="showcase-front-slate">You can <a href="<?php echo esc_url( admin_url( 'edit.php?post_type=showcase' ) ); ?>">add notable sites</a> in your language and screenshot and description of random three of them will show here.</span> 113 113 </div> … … 135 135 <div id="blog" class="section"> 136 136 <div class="col-9"> 137 <h3><?php _e('Blog', 'rosetta'); ?></h3>137 <h3><?php esc_html_e( 'Blog', 'rosetta' ); ?></h3> 138 138 <?php 139 139 query_posts( 'showposts=5' ); -
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/functions.php
r6044 r15179 43 43 '<p>%s</p>', 44 44 /* translators: feel free to add links to places, where one can get support in your language. */ 45 __( '<strong>Please, do not post support requests here!</strong> They will probably be ignored.', 'rosetta')45 wp_kses_post( __( '<strong>Please, do not post support requests here!</strong> They will probably be ignored.', 'rosetta' ) ) 46 46 ); 47 47 } -
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/inc/template-tags.php
r1615 r15179 5 5 function rosetta_entry_meta() { 6 6 if ( is_sticky() && is_home() && ! is_paged() ) { 7 printf( '<span class="sticky-post">%s</span> ', __( 'Featured', 'rosetta' ) );7 printf( '<span class="sticky-post">%s</span> ', esc_html__( 'Featured', 'rosetta' ) ); 8 8 } 9 9 … … 22 22 printf( 23 23 /* translators: 1: post date 2: post author */ 24 __( 'Posted on %1$s by %2$s.', 'rosetta' ),24 esc_html__( 'Posted on %1$s by %2$s.', 'rosetta' ), 25 25 $time_string, 26 26 $author_string … … 37 37 printf( 38 38 /* translators: %s: list of categories */ 39 __( 'Filed under %s.', 'rosetta' ),39 esc_html__( 'Filed under %s.', 'rosetta' ), 40 40 $categories_string 41 41 ); -
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/index.php
r2249 r15179 24 24 <?php endwhile; 25 25 else: ?> 26 <p><?php _e( 'Sorry, no posts matched your criteria.', 'rosetta' ); ?></p>26 <p><?php esc_html_e( 'Sorry, no posts matched your criteria.', 'rosetta' ); ?></p> 27 27 <?php endif; ?> 28 28 -
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/sidebar-blog.php
r1641 r15179 1 <h4><?php _e( 'Categories', 'rosetta' ); ?></h4> 1 <?php 2 /** 3 * The sidebar shown on blog pages. 4 * 5 * @package Rosetta 6 */ 7 8 ?> 9 <h4><?php esc_html_e( 'Categories', 'rosetta' ); ?></h4> 2 10 <ul> 3 11 <?php wp_list_categories( 'title_li=&show_count=1&orderby=count&order=DESC&number=10' ); ?> 4 12 </ul> 5 13 6 <h4><?php _e( 'Blog Archives', 'rosetta' ); ?></h4>14 <h4><?php esc_html_e( 'Blog Archives', 'rosetta' ); ?></h4> 7 15 <ul> 8 16 <?php wp_get_archives( 'type=monthly&limit=12' ); ?> -
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/sidebar-page.php
r6044 r15179 5 5 ?> 6 6 <p class="download-meta"> 7 <a class="button download-button button-large button-large" href="<?php echo $latest_release['zip_url']; ?>" role="button">7 <a class="button download-button button-large button-large" href="<?php echo esc_url( $latest_release['zip_url'] ); ?>" role="button"> 8 8 <strong><?php 9 echo apply_filters( 'no_orphans', 10 sprintf( 11 __( 'Download WordPress %s', 'rosetta' ), 12 $latest_release['version'] 9 echo wp_kses_post( 10 apply_filters( 11 'no_orphans', 12 sprintf( 13 /* translators: %s: WordPress version. */ 14 esc_html__( 'Download WordPress %s', 'rosetta' ), 15 esc_html( $latest_release['version'] ) 16 ) 13 17 ) 14 18 ); 15 19 ?></strong> 16 20 </a> 17 <span><?php printf( __( '.zip — %s MB', 'rosetta' ), $latest_release['zip_size_mb'] ); ?></span> 21 <?php /* translators: %s: File size in megabytes. */ ?> 22 <span><?php printf( esc_html__( '.zip — %s MB', 'rosetta' ), esc_html( $latest_release['zip_size_mb'] ) ); ?></span> 18 23 </p> 19 24 20 25 <p class="download-tar"> 21 <a href="<?php echo $latest_release['targz_url']; ?>"><?php printf( 22 __( 'Download .tar.gz — %s MB', 'rosetta' ), 23 $latest_release['tar_size_mb'] ); 24 ?></a> 26 <?php /* translators: %s: File size in megabytes. */ ?> 27 <a href="<?php echo esc_url( $latest_release['targz_url'] ); ?>"><?php printf( esc_html__( 'Download .tar.gz — %s MB', 'rosetta' ), esc_html( $latest_release['tar_size_mb'] ) ); ?></a> 25 28 </p> 26 29 <?php … … 28 31 ?> 29 32 30 <h3><?php _e( 'Resources', 'rosetta' ); ?></h3>33 <h3><?php esc_html_e( 'Resources', 'rosetta' ); ?></h3> 31 34 32 <p><?php _e( 'For help with installing or using WordPress, consult our documentation in your language.', 'rosetta' ); ?></p>35 <p><?php esc_html_e( 'For help with installing or using WordPress, consult our documentation in your language.', 'rosetta' ); ?></p> 33 36 34 37 <?php -
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/single.php
r2249 r15179 35 35 endwhile; 36 36 else: ?> 37 <p><?php _e( 'Sorry, no posts matched your criteria.', 'rosetta' ); ?></p>37 <p><?php esc_html_e( 'Sorry, no posts matched your criteria.', 'rosetta' ); ?></p> 38 38 <?php endif; ?> 39 39 -
sites/trunk/jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp-captcha.php
r14952 r15179 191 191 public static function add_notice( $type ) { 192 192 if ( 'verify' == $type ) { 193 echo ' <strong><em>' . __( 'Note that you must also fill out the captcha field.', 'jobswp' ) . '</em></strong>';193 echo ' <strong><em>' . esc_html__( 'Note that you must also fill out the captcha field.', 'jobswp' ) . '</em></strong>'; 194 194 } 195 195 } -
sites/trunk/jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp-moderation.php
r15157 r15179 104 104 echo '</table>'; 105 105 } else { 106 echo __( 'No similar jobs found.', 'jobswp' );106 echo esc_html__( 'No similar jobs found.', 'jobswp' ); 107 107 } 108 108 } -
sites/trunk/jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp-template.php
r15157 r15179 174 174 * Returns the appropriate field value markup for use in appropriate form field. 175 175 * 176 * Returns a complete attribute pair (`value='…'`), or selected() output for the 177 * select fields, meant to be echoed between attributes inside a tag rather than 178 * inside an attribute's quotes. The value is run through esc_attr(). Returns 179 * nothing when there is no submitted value. The job description is not handled 180 * here because it carries HTML; see jobswp_field_description_value(). 181 * 176 182 * @param string $field Field name/key 177 183 * @param string $option_value Related value, if appropriate. (e.g. the other … … 182 188 $val = ''; 183 189 184 if ( $_POST && isset( $_POST[ $field ] ) && ! empty( $_POST[ $field ] ) ) { 185 // Allow certain HTML in job_description field 186 if ( 'job_description' == $field ) 187 $val = stripslashes( wp_filter_kses( trim( $_POST[ $field ] ) ) ); 188 else 189 $val = esc_attr( trim( strip_tags( stripslashes( $_POST[ $field ] ) ) ) ); 190 if ( $_POST && isset( $_POST[ $field ] ) && ! empty( $_POST[ $field ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Display-only form redisplay. 191 // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput -- Slashes are stripped and the value is escaped on the same line. 192 $val = esc_attr( trim( strip_tags( stripslashes( $_POST[ $field ] ) ) ) ); 190 193 } 191 194 … … 194 197 if ( in_array( $field, array( 'category', 'howtoapply_method', 'jobtype' ) ) ) 195 198 return selected( $val, $option_value, false ); 196 elseif ( 'job_description' == $field )197 return $val;198 199 else 199 200 return "value='$val'"; 200 201 } 202 } 203 204 /** 205 * Returns the submitted job description, with its allowed HTML preserved. 206 * 207 * The return value is kses-filtered HTML meant for an element body. It carries 208 * unescaped quotes, so unlike jobswp_field_value() it must never be printed 209 * into an attribute. 210 * 211 * @return string 212 */ 213 function jobswp_field_description_value() { 214 $field = 'job_description'; 215 216 if ( $_POST && isset( $_POST[ $field ] ) && ! empty( $_POST[ $field ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Display-only form redisplay. 217 // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput -- wp_filter_kses() unslashes and kses-filters the value, then re-slashes it; the outer stripslashes() undoes that. 218 return stripslashes( wp_filter_kses( trim( $_POST[ $field ] ) ) ); 219 } 220 221 return ''; 201 222 } 202 223 -
sites/trunk/jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp.php
r15157 r15179 165 165 */ 166 166 public function wp_kses_allowed_html( $allowedtags, $content ) { 167 // Interface text needs links that are not permitted in job descriptions. 168 if ( 'jobswp-ui' === $content ) { 169 return array( 170 'a' => array( 171 'href' => true, 172 'rel' => true, 173 'title' => true, 174 ), 175 'em' => array(), 176 'strong' => array(), 177 ); 178 } 179 167 180 // Add permissable tags 168 181 $allowedtags['ol'] = array(); … … 484 497 $post_id = isset( $_GET['post'] ) ? absint( $_GET['post'] ) : null; 485 498 486 if ( ! $post_id ) 487 wp_die( __( 'No job specified to close.', 'jobswp' ) ); 499 if ( ! $post_id ) { 500 wp_die( esc_html__( 'No job specified to close.', 'jobswp' ) ); 501 } 488 502 489 503 check_admin_referer( 'close-job-post_' . $post_id ); … … 491 505 $post = get_post( $post_id ); 492 506 493 if ( ! $post ) 494 wp_die( __( 'The job you are trying to close no longer exists.', 'jobswp' ) ); 507 if ( ! $post ) { 508 wp_die( esc_html__( 'The job you are trying to close no longer exists.', 'jobswp' ) ); 509 } 495 510 496 511 $post_type = $post->post_type; 497 512 $post_type_object = get_post_type_object( $post_type ); 498 513 499 if ( ! $post_type_object ) 500 wp_die( __( 'Unknown post type.' ) ); 501 502 if ( ! current_user_can( 'delete_post', $post_id ) ) 503 wp_die( __( 'You are not allowed to close this job.', 'jobswp' ) ); 514 if ( ! $post_type_object ) { 515 wp_die( esc_html__( 'Unknown post type.' ) ); 516 } 517 518 if ( ! current_user_can( 'delete_post', $post_id ) ) { 519 wp_die( esc_html__( 'You are not allowed to close this job.', 'jobswp' ) ); 520 } 504 521 505 522 if ( $user_id = wp_check_post_lock( $post_id ) ) { … … 509 526 } 510 527 511 if ( ! $this->close_job( $post ) ) 512 wp_die( __( 'Error in closing job.', 'jobswp' ) ); 528 if ( ! $this->close_job( $post ) ) { 529 wp_die( esc_html__( 'Error in closing job.', 'jobswp' ) ); 530 } 513 531 514 532 // Redirect back to jobs listing … … 545 563 546 564 echo '<div class="updated"><p>'; 547 _e( 'Job closed.', 'jobswp' );565 esc_html_e( 'Job closed.', 'jobswp' ); 548 566 echo '</p></div>'; 549 567 } -
sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/content-list.php
r15170 r15179 28 28 echo "<div class='no-job'>"; 29 29 echo sprintf( 30 __( 'There are no jobs in this category. If you\'re hiring, you can <a href="%s">post a new job</a>.', 'jobswp' ), 30 /* translators: %s: Post a job URL. */ 31 wp_kses( __( 'There are no jobs in this category. If you’re hiring, you can <a href="%s">post a new job</a>.', 'jobswp' ), 'jobswp-ui' ), 31 32 '/post-a-job' 32 33 ); … … 50 51 $link .= '>'; 51 52 $link .= 'Show all '.apply_filters( 'list_terms', $category->name, $category ) . ' jobs »</a>'; 52 echo wp_kses _post( $link);53 echo wp_kses( $link, 'jobswp-ui' ); 53 54 echo '</p>'; 54 55 } else { -
sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/content-post-job-success.php
r9478 r15179 1 <?php 2 /** 3 * Confirmation shown after a job has been submitted. 4 * 5 * @package jobswp 6 */ 7 8 ?> 1 9 <div class="notice notice-success"> 2 <h2><?php _e( 'Thank you for submitting your job posting!', 'jobswp' ); ?></h2>10 <h2><?php esc_html_e( 'Thank you for submitting your job posting!', 'jobswp' ); ?></h2> 3 11 4 <p><?php printf( __( 'Your job posting will be reviewed in the next 24-48 hours to ensure it meets the criteria listed in our <a href="%s">FAQ</a>. After approval, your posting will stay on the job board for a total of 21 days.', 5 'jobswp' ), 6 '/faq/' ); ?></p> 12 <p> 13 <?php 14 printf( 15 /* translators: %s: FAQ URL. */ 16 wp_kses( __( 'Your job posting will be reviewed in the next 24-48 hours to ensure it meets the criteria listed in our <a href="%s">FAQ</a>. After approval, your posting will stay on the job board for a total of 21 days.', 'jobswp' ), 'jobswp-ui' ), 17 '/faq/' 18 ); 19 ?> 20 </p> 7 21 8 <p><?php printf( __( '<strong>Important!</strong> Take note of the following job token. It is your only means of removing the job from the site in a <em>timely</em> fashion prior to its automatic expiration. (Otherwise, you would have to make a request via the feedback form which could take 24-48 hours or longer to honor). The token is used on the <a href="%s">job removal page</a>.', 'jobswp' ), 22 <p> 23 <?php 24 printf( 25 /* translators: %s: Remove a job URL. */ 26 wp_kses( __( '<strong>Important!</strong> Take note of the following job token. It is your only means of removing the job from the site in a <em>timely</em> fashion prior to its automatic expiration. (Otherwise, you would have to make a request via the feedback form which could take 24-48 hours or longer to honor). The token is used on the <a href="%s">job removal page</a>.', 'jobswp' ), 'jobswp-ui' ), 9 27 '/remove-a-job/' 10 28 ); ?></p> 11 29 12 <p class="job-token"><?php printf( __( 'Your job token is: %s', 'jobswp' ), esc_html( $_POST['job_token'] ) ); ?></p> 30 <p class="job-token"> 31 <?php 32 /* translators: %s: Job token. */ 33 printf( esc_html__( 'Your job token is: %s', 'jobswp' ), esc_html( wp_unslash( $_POST['job_token'] ?? '' ) ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Display-only form redisplay; the value is escaped with esc_html() at output. 34 ?> 35 </p> 13 36 14 <p><?php printf( __( 'If you would like to modify your posting, or you are having problems removing the job using the job token, please contact us using our <a href="%s">feedback form</a>. Be sure to specify the email address you supplied in your job posting.', 15 'jobswp' ), 16 '/feedback/' ); ?></p> 37 <p> 38 <?php 39 printf( 40 /* translators: %s: Feedback form URL. */ 41 wp_kses( __( 'If you would like to modify your posting, or you are having problems removing the job using the job token, please contact us using our <a href="%s">feedback form</a>. Be sure to specify the email address you supplied in your job posting.', 'jobswp' ), 'jobswp-ui' ), 42 '/feedback/' 43 ); 44 ?> 45 </p> 17 46 18 <p><?php _e( "Below you'll find a preview of your job posting.", 'jobswp' ); ?></p>47 <p><?php esc_html_e( 'Below you’ll find a preview of your job posting.', 'jobswp' ); ?></p> 19 48 </div> -
sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/content-post-job.php
r15170 r15179 1 <div class="items-required">* <?php _e( 'Items are required.', 'jobswp' ); ?></div> 1 <?php 2 /** 3 * The form for posting a job. 4 * 5 * @package jobswp 6 */ 7 8 ?> 9 <div class="items-required">* <?php esc_html_e( 'Items are required.', 'jobswp' ); ?></div> 2 10 3 11 <?php if ( isset( $_POST['errors'] ) ) : ?> 4 12 5 13 <div class="notice notice-error"> 6 <?php if ( is_string( $_POST['errors'] ) ) 7 echo sprintf( __( '<strong>ERROR:</strong> %s', 'jobswp' ), esc_html( $_POST['errors'] ) ); 8 else 9 _e( '<strong>ERROR:</strong> One or more required fields are missing a value.', 'jobswp' ); 14 <?php 15 if ( is_string( $_POST['errors'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Display-only form redisplay; the value is only type-checked here and escaped at output. 16 /* translators: %s: Error message. */ 17 printf( wp_kses_post( __( '<strong>ERROR:</strong> %s', 'jobswp' ) ), esc_html( wp_unslash( $_POST['errors'] ) ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Display-only form redisplay; the value is escaped with esc_html() at output. 18 } else { 19 echo wp_kses_post( __( '<strong>ERROR:</strong> One or more required fields are missing a value.', 'jobswp' ) ); 20 } 10 21 ?> 11 22 <?php do_action( 'jobswp_notice', 'error' ); ?> … … 16 27 <div class="notice notice-info"> 17 28 <div> 18 <?php _e( 'Please review the data you submitted for accuracy. Make any necessary corrections, then re-submit this form.', 'jobswp' ); ?>29 <?php esc_html_e( 'Please review the data you submitted for accuracy. Make any necessary corrections, then re-submit this form.', 'jobswp' ); ?> 19 30 <?php do_action( 'jobswp_notice', 'verify' ); ?> 20 31 </div> … … 26 37 27 38 <div class="post-job-contact-info"> 28 <h3 class="post-field-section-header"><?php _e( 'Job Poster Contact Information', 'jobswp' ); ?></h3>29 <div class="post-field-section-subheader"><?php _e( '(this information is not publicly displayed)', 'jobswp' ); ?></div>39 <h3 class="post-field-section-header"><?php esc_html_e( 'Job Poster Contact Information', 'jobswp' ); ?></h3> 40 <div class="post-field-section-subheader"><?php esc_html_e( '(this information is not publicly displayed)', 'jobswp' ); ?></div> 30 41 31 42 <?php jobswp_text_field( 'first_name', __( 'First Name', 'jobswp' ), true ); ?> … … 38 49 <div class="post-job-company-info"> 39 50 40 <h3 class="post-field-section-header"><?php _e( 'Company Information', 'jobswp' ); ?></h3>41 <div class="post-field-section-subheader"><?php _e( '(publicly displayed)', 'jobswp' ); ?></div>51 <h3 class="post-field-section-header"><?php esc_html_e( 'Company Information', 'jobswp' ); ?></h3> 52 <div class="post-field-section-subheader"><?php esc_html_e( '(publicly displayed)', 'jobswp' ); ?></div> 42 53 43 54 <?php jobswp_text_field( 'company', __( 'Company Name', 'jobswp' ), true ); ?> … … 46 57 47 58 <div class="post-job-input"> 48 <label for="howtoapply"><?php _e( 'How to Apply', 'jobswp' ); ?>* <span><?php_e( '(also specify)', 'jobswp' ); ?></span></label>59 <label for="howtoapply"><?php esc_html_e( 'How to Apply', 'jobswp' ); ?>* <span><?php esc_html_e( '(also specify)', 'jobswp' ); ?></span></label> 49 60 <div class="howtoapply-inputs"> 50 61 <select name="howtoapply_method" id="howtoapply_method" class="<?php echo esc_attr( jobswp_required_field_classes( 'howtoapply_method' ) ); ?>" required> 51 62 <option value="" selected="selected" disabled="disabled"></option> 52 <option value="email" <?php echo jobswp_field_value( 'howtoapply_method', 'email' ); ?>><?php _e( 'Email Address', 'jobswp' ); ?></option>53 <option value="phone" <?php echo jobswp_field_value( 'howtoapply_method', 'phone' ); ?>><?php _e( 'Phone Number', 'jobswp' ); ?></option>54 <option value="web" <?php echo jobswp_field_value( 'howtoapply_method', 'web' ); ?>><?php _e( 'Online Form', 'jobswp' ); ?></option>63 <option value="email" <?php echo jobswp_field_value( 'howtoapply_method', 'email' ); ?>><?php esc_html_e( 'Email Address', 'jobswp' ); ?></option> 64 <option value="phone" <?php echo jobswp_field_value( 'howtoapply_method', 'phone' ); ?>><?php esc_html_e( 'Phone Number', 'jobswp' ); ?></option> 65 <option value="web" <?php echo jobswp_field_value( 'howtoapply_method', 'web' ); ?>><?php esc_html_e( 'Online Form', 'jobswp' ); ?></option> 55 66 </select> : 56 67 <input type="text" name="howtoapply" id="howtoapply" class="<?php echo esc_attr( jobswp_required_field_classes( 'howtoapply' ) ); ?>" <?php echo jobswp_field_value( 'howtoapply' ); ?> /> … … 58 69 59 70 <div class="job-help-text"> 60 <?php _e( 'If choosing "Email Address", use an email address you are comfortable exposing to any visitor of the site. It need not match the private email address asked for in the Contact Information section.', 'jobswp' ); ?>71 <?php esc_html_e( 'If choosing "Email Address", use an email address you are comfortable exposing to any visitor of the site. It need not match the private email address asked for in the Contact Information section.', 'jobswp' ); ?> 61 72 </div> 62 73 </div> … … 67 78 68 79 <div class="post-job-job-info"> 69 <h3 class="post-field-section-header"><?php _e( 'Job Details', 'jobswp' ); ?></h3>80 <h3 class="post-field-section-header"><?php esc_html_e( 'Job Details', 'jobswp' ); ?></h3> 70 81 71 82 <div class="post-job-half"> … … 80 91 81 92 <div class="post-job-input"> 82 <label for="category"><?php _e( 'Category', 'jobswp' ); ?>*</label>83 <select name="category" id="category" class="<?php echo jobswp_required_field_classes( 'category'); ?>" required>93 <label for="category"><?php esc_html_e( 'Category', 'jobswp' ); ?>*</label> 94 <select name="category" id="category" class="<?php echo esc_attr( jobswp_required_field_classes( 'category' ) ); ?>" required> 84 95 <option value="" selected="selected" disabled="disabled"></option> 85 96 <?php foreach ( Jobs_Dot_WP::get_job_categories() as $cat ) : ?> 86 <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- jobswp_field_value() returns selected() markup. ?>87 97 <option value="<?php echo esc_attr( $cat->slug ); ?>" <?php echo jobswp_field_value( 'category', esc_attr( $cat->slug ) ); ?>><?php echo esc_html( $cat->name ); ?></option> 88 98 <?php endforeach; ?> … … 91 101 92 102 <div class="post-job-input"> 93 <label for="jobtype"><?php _e( 'Job Type', 'jobswp' ); ?>*</label>103 <label for="jobtype"><?php esc_html_e( 'Job Type', 'jobswp' ); ?>*</label> 94 104 <select name="jobtype" id="jobtype" class="<?php echo esc_attr( jobswp_required_field_classes( 'jobtype' ) ); ?>" required> 95 105 <option value="" selected="selected" disabled="disabled"></option> 96 <option value="ft" <?php echo jobswp_field_value( 'jobtype', 'ft' ); ?>><?php _e( 'Full Time', 'jobswp' ); ?></option>97 <option value="pt" <?php echo jobswp_field_value( 'jobtype', 'pt' ); ?>><?php _e( 'Part Time', 'jobswp' ); ?></option>98 <option value="ppt" <?php echo jobswp_field_value( 'jobtype', 'ppt' ); ?>><?php _e( 'Project', 'jobswp' ); ?></option>106 <option value="ft" <?php echo jobswp_field_value( 'jobtype', 'ft' ); ?>><?php esc_html_e( 'Full Time', 'jobswp' ); ?></option> 107 <option value="pt" <?php echo jobswp_field_value( 'jobtype', 'pt' ); ?>><?php esc_html_e( 'Part Time', 'jobswp' ); ?></option> 108 <option value="ppt" <?php echo jobswp_field_value( 'jobtype', 'ppt' ); ?>><?php esc_html_e( 'Project', 'jobswp' ); ?></option> 99 109 </select> 100 110 </div> … … 106 116 107 117 <div class="post-job-input"> 108 <label for="job_description"><?php _e( 'Job Description', 'jobswp' ); ?>*</label> 109 <textarea name="job_description" id="job_description" rows="10" class="<?php echo jobswp_required_field_classes( 'job_description' ); ?>"><?php echo jobswp_field_value( 'job_description' ); ?></textarea> 110 <p><?php echo sprintf( __( 'Line and paragraph breaks are automatic. <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code>%s</code>', 'jobswp' ), jobswp_allowed_tags() ); ?></p> 111 <p><?php _e( 'All job postings are moderated prior to appearing on the site.', 'jobswp' ); ?></p> 118 <label for="job_description"><?php esc_html_e( 'Job Description', 'jobswp' ); ?>*</label> 119 <textarea name="job_description" id="job_description" rows="10" class="<?php echo esc_attr( jobswp_required_field_classes( 'job_description' ) ); ?>"><?php echo jobswp_field_description_value(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Filtered with wp_filter_kses() for this textarea body. ?></textarea> 120 <?php /* translators: %s: List of allowed HTML tags. */ ?> 121 <p><?php printf( wp_kses_post( __( 'Line and paragraph breaks are automatic. <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code>%s</code>', 'jobswp' ) ), esc_html( jobswp_allowed_tags() ) ); ?></p> 122 <p><?php esc_html_e( 'All job postings are moderated prior to appearing on the site.', 'jobswp' ); ?></p> 112 123 113 <p><?php _e( 'Please review your job posting for accuracy. Once submitted, you will not be able to make any changes unless you do so by submitting a contact form request which can take 24 hours or longer to fulfill.', 'jobswp' ); ?></p>124 <p><?php esc_html_e( 'Please review your job posting for accuracy. Once submitted, you will not be able to make any changes unless you do so by submitting a contact form request which can take 24 hours or longer to fulfill.', 'jobswp' ); ?></p> 114 125 </div> 115 126 … … 128 139 <input type="hidden" name="verify" value="1" /> 129 140 <div class="notice notice-info accept"> 130 <p><?php _e( 'By submitting a job to this site you acknowledge the following:', 'jobswp' ); ?></p>141 <p><?php esc_html_e( 'By submitting a job to this site you acknowledge the following:', 'jobswp' ); ?></p> 131 142 <ul> 132 143 <li> 133 144 <?php 134 145 /* translators: %s: URL of the FAQ page. */ 135 printf( wp_kses _post( __( 'You have read the <a href="%s">FAQ</a> and understand everything listed, especially pertaining to what is unacceptable for a job posting.', 'jobswp' )), esc_url( home_url( '/faq/' ) ) );146 printf( wp_kses( __( 'You have read the <a href="%s">FAQ</a> and understand everything listed, especially pertaining to what is unacceptable for a job posting.', 'jobswp' ), 'jobswp-ui' ), esc_url( home_url( '/faq/' ) ) ); 136 147 ?> 137 148 </li> 138 <li><?php _e( 'If you provided a contact email address as your method of contact for job seekers, that email address will be made publicly available and you will likely receive a lot of email.', 'jobswp' );?></li>139 <li><?php _e( 'Upon successful submission, you will not be able to make any edits. Proofread everything again to make sure it’s what you want.', 'jobswp' ); ?></li>140 <li><?php _e( 'It rests on you to vet applicants in whatever manner you see fit. We make absolutely no claims or guarantees as to the identity, capabilities, or reliability of applicants. <strong>Hire at your own risk.</strong>', 'jobswp'); ?></li>141 <li><?php _e( 'Upon successful submission, you will be immediately presented with a job token. <strong>MAKE NOTE OF THE TOKEN</strong>. It is your only means of removing the job from the site in a <em>timely</em> fashion.', 'jobswp'); ?></li>149 <li><?php esc_html_e( 'If you provided a contact email address as your method of contact for job seekers, that email address will be made publicly available and you will likely receive a lot of email.', 'jobswp' ); ?></li> 150 <li><?php esc_html_e( 'Upon successful submission, you will not be able to make any edits. Proofread everything again to make sure it’s what you want.', 'jobswp' ); ?></li> 151 <li><?php echo wp_kses_post( __( 'It rests on you to vet applicants in whatever manner you see fit. We make absolutely no claims or guarantees as to the identity, capabilities, or reliability of applicants. <strong>Hire at your own risk.</strong>', 'jobswp' ) ); ?></li> 152 <li><?php echo wp_kses_post( __( 'Upon successful submission, you will be immediately presented with a job token. <strong>MAKE NOTE OF THE TOKEN</strong>. It is your only means of removing the job from the site in a <em>timely</em> fashion.', 'jobswp' ) ); ?></li> 142 153 </ul> 143 154 <p> 144 <input type="checkbox" name="accept" id="accept" value="1" required /><label for="accept"><?php _e( 'I agree to the terms stated above.', 'jobswp' ); ?>*</label>155 <input type="checkbox" name="accept" id="accept" value="1" required /><label for="accept"><?php esc_html_e( 'I agree to the terms stated above.', 'jobswp' ); ?>*</label> 145 156 </p> 146 157 </div> -
sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/inc/template-tags.php
r14812 r15179 32 32 ?> 33 33 <nav role="navigation" id="<?php echo esc_attr( $nav_id ); ?>" class="<?php echo $nav_class; ?>"> 34 <h1 class="screen-reader-text"><?php _e( 'Post navigation', 'jobswp' ); ?></h1>34 <h1 class="screen-reader-text"><?php esc_html_e( 'Post navigation', 'jobswp' ); ?></h1> 35 35 36 36 <?php if ( is_single() ) : // navigation links for single posts ?> … … 69 69 <li id="comment-<?php comment_ID(); ?>" <?php comment_class(); ?>> 70 70 <div class="comment-body"> 71 <?php_e( 'Pingback:', 'jobswp' ); ?> <?php comment_author_link(); ?> <?php edit_comment_link( __( 'Edit', 'jobswp' ), '<span class="edit-link">', '</span>' ); ?>71 <?php esc_html_e( 'Pingback:', 'jobswp' ); ?> <?php comment_author_link(); ?> <?php edit_comment_link( __( 'Edit', 'jobswp' ), '<span class="edit-link">', '</span>' ); ?> 72 72 </div> 73 73 … … 79 79 <div class="comment-author vcard"> 80 80 <?php if ( 0 != $args['avatar_size'] ) echo get_avatar( $comment, $args['avatar_size'] ); ?> 81 <?php printf( __( '%s <span class="says">says:</span>', 'jobswp' ), sprintf( '<cite class="fn">%s</cite>', get_comment_author_link() ) ); ?> 81 <?php /* translators: %s: Comment author link. */ ?> 82 <?php printf( wp_kses_post( __( '%s <span class="says">says:</span>', 'jobswp' ) ), sprintf( '<cite class="fn">%s</cite>', get_comment_author_link() ) ); ?> 82 83 </div><!-- .comment-author --> 83 84 … … 85 86 <a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>"> 86 87 <time datetime="<?php comment_time( 'c' ); ?>"> 87 <?php printf( _x( '%1$s at %2$s', '1: date, 2: time', 'jobswp' ), get_comment_date(), get_comment_time() ); ?> 88 <?php /* translators: 1: Comment date, 2: Comment time. */ ?> 89 <?php printf( esc_html_x( '%1$s at %2$s', '1: date, 2: time', 'jobswp' ), esc_html( get_comment_date() ), esc_html( get_comment_time() ) ); ?> 88 90 </time> 89 91 </a> … … 92 94 93 95 <?php if ( '0' == $comment->comment_approved ) : ?> 94 <p class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'jobswp' ); ?></p>96 <p class="comment-awaiting-moderation"><?php esc_html_e( 'Your comment is awaiting moderation.', 'jobswp' ); ?></p> 95 97 <?php endif; ?> 96 98 </footer><!-- .comment-meta --> -
sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/no-results.php
r8232 r15179 11 11 <section class="no-results not-found"> 12 12 <header class="page-header"> 13 <h1 class="page-title"><?php _e( 'Nothing Found', 'jobswp' ); ?></h1>13 <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'jobswp' ); ?></h1> 14 14 </header><!-- .page-header --> 15 15 … … 17 17 <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?> 18 18 19 <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'jobswp' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p> 19 <?php /* translators: %1$s: New post URL. */ ?> 20 <p><?php printf( wp_kses( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'jobswp' ), 'jobswp-ui' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p> 20 21 21 22 <?php elseif ( is_search() ) : ?> 22 23 23 <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'jobswp' ); ?></p>24 <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'jobswp' ); ?></p> 24 25 <?php get_search_form(); ?> 25 26 26 27 <?php else : ?> 27 28 28 <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'jobswp' ); ?></p>29 <p><?php esc_html_e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'jobswp' ); ?></p> 29 30 <?php get_search_form(); ?> 30 31 -
sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/page-remove-a-job.php
r14757 r15179 25 25 <div class="notice notice-error"> 26 26 <?php if ( is_string( $_POST['errors'] ) ) { 27 echo sprintf( __( '<strong>ERROR:</strong> %s', 'jobswp' ), esc_html( $_POST['errors'] ) ); 27 /* translators: %s: Error message. */ 28 printf( wp_kses_post( __( '<strong>ERROR:</strong> %s', 'jobswp' ) ), esc_html( wp_unslash( $_POST['errors'] ) ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Display-only form redisplay; the value is escaped with esc_html() at output. 28 29 } else { 29 _e( '<strong>ERROR:</strong> One or more required fields are missing a value.', 'jobswp');30 echo wp_kses_post( __( '<strong>ERROR:</strong> One or more required fields are missing a value.', 'jobswp' ) ); 30 31 } ?> 31 32 <?php do_action( 'jobswp_notice', 'error' ); ?> … … 35 36 <div class="entry-content"> 36 37 <div class="notice notice-success"> 37 <strong><?php _e( 'Your job posting has been successfully removed.', 'jobswp' ); ?></strong>38 <strong><?php esc_html_e( 'Your job posting has been successfully removed.', 'jobswp' ); ?></strong> 38 39 </div> 39 40 </div> -
sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/searchform.php
r14757 r15179 8 8 <form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>"> 9 9 <label> 10 <span class="screen-reader-text"><?php _ex( 'Search for:', 'label', 'jobswp' ); ?></span>10 <span class="screen-reader-text"><?php echo esc_html_x( 'Search for:', 'label', 'jobswp' ); ?></span> 11 11 <input type="search" class="search-field" placeholder="<?php echo esc_attr_x( 'What kind of job are you looking for?', 'placeholder', 'jobswp' ); ?>" value="<?php echo esc_attr( get_search_query() ); ?>" name="s" title="<?php echo esc_attr_x( 'Find Jobs:', 'label', 'jobswp' ); ?>"> 12 12 </label> -
sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/sidebar.php
r14842 r15179 10 10 11 11 <aside id="cats" class="widget"> 12 <h3 class="widget-title"><?php _e( 'Position Types', 'jobswp' ); ?></h3>12 <h3 class="widget-title"><?php esc_html_e( 'Position Types', 'jobswp' ); ?></h3> 13 13 <a href="#" class="menu-jobs-toggle"></a> 14 14 <ul class="menu-jobs"> 15 <li class="job-cat-item job-cat-item-all"><a href="/" title="<?php esc_attr_e( 'View all job openings', 'jobswp' ); ?>"><?php _e( 'All Openings', 'jobswp' )?></a></li>15 <li class="job-cat-item job-cat-item-all"><a href="/" title="<?php esc_attr_e( 'View all job openings', 'jobswp' ); ?>"><?php esc_html_e( 'All Openings', 'jobswp' ); ?></a></li> 16 16 <?php Jobs_Dot_WP::list_job_categories(); ?> 17 17 </ul> -
sites/trunk/phpcs.xml.dist
r15171 r15179 148 148 <!-- Returns esc_url( $url ); see themes/pub/wporg-login/functions.php. --> 149 149 <element value="wporg_login_wordpress_url"/> 150 <!-- Returns selected() markup or an esc_attr()'d value attribute; see jobs.wordpress.net plugins/jobswp/jobswp-template.php. --> 151 <element value="jobswp_field_value"/> 150 152 </property> 151 153 </properties> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/admin-notices.php
r12929 r15179 87 87 printf( 88 88 /* translators: 1: example landing page title that includes post type name, 2: comma-separated list of acceptable post slugs */ 89 __( '<strong>Welcome to your new handbook!</strong> It is recommended that the first post you create is the landing page for the handbook. You can title it anything you like (suggestions: <code>%1$s</code> or <code>Welcome</code>). However, you must ensure that it has one of the following slugs: %2$s. The slug will ultimately be omitted from the page‘s permalink URL, but will still appear in the permalinks for sub-pages.', 'wporg'),89 wp_kses_post( __( '<strong>Welcome to your new handbook!</strong> It is recommended that the first post you create is the landing page for the handbook. You can title it anything you like (suggestions: <code>%1$s</code> or <code>Welcome</code>). However, you must ensure that it has one of the following slugs: %2$s. The slug will ultimately be omitted from the page‘s permalink URL, but will still appear in the permalinks for sub-pages.', 'wporg' ) ), 90 90 WPorg_Handbook::get_name( $current_screen->post_type ), 91 91 implode( ', ', $suggested_slugs ) … … 127 127 printf( 128 128 /* translators: 1: example landing page title that includes post type name, 2: comma-separated list of acceptable post slugs */ 129 __( '<strong>Warning:</strong> A landing page for this handbook has not been created or is not published. You can title it anything you like (suggestions: <code>%1$s</code> or <code>Welcome</code>). However, you must ensure that it has one of the following slugs: %2$s. The slug will ultimately be omitted from the page‘s permalink URL, but will still appear in the permalinks for its sub-pages. Without this page your handbook‘s URL will show a seemingly random handbook page.', 'wporg'),129 wp_kses_post( __( '<strong>Warning:</strong> A landing page for this handbook has not been created or is not published. You can title it anything you like (suggestions: <code>%1$s</code> or <code>Welcome</code>). However, you must ensure that it has one of the following slugs: %2$s. The slug will ultimately be omitted from the page‘s permalink URL, but will still appear in the permalinks for its sub-pages. Without this page your handbook‘s URL will show a seemingly random handbook page.', 'wporg' ) ), 130 130 WPorg_Handbook::get_name( $handbook_post_type ), 131 131 implode( ', ', $suggested_slugs ) … … 173 173 printf( 174 174 /* translators: 1: URL to remote manifest. 2: cron interval. */ 175 __( '<strong>This is an imported handbook!</strong> This handbook is imported according to a <a href="%1$s">remote manifest</a>. Any local changes will be overwritten during the next import, so make any changes at the remote location. Import interval: <strong>%2$s</strong>.', 'wporg'),175 wp_kses_post( __( '<strong>This is an imported handbook!</strong> This handbook is imported according to a <a href="%1$s">remote manifest</a>. Any local changes will be overwritten during the next import, so make any changes at the remote location. Import interval: <strong>%2$s</strong>.', 'wporg' ) ), 176 176 $handbook_config['manifest'], 177 177 $interval_display … … 224 224 printf( 225 225 /* translators: %s: cron interval. */ 226 __( '<strong>Misconfigured cron interval!</strong> This imported handbook has a misconfigured cron interval. The config defines an interval of <strong>%s</strong>, which has not been defined. The fallback import interval shown in a notice above includes the default cron interval currently in use.', 'wporg'),226 wp_kses_post( __( '<strong>Misconfigured cron interval!</strong> This imported handbook has a misconfigured cron interval. The config defines an interval of <strong>%s</strong>, which has not been defined. The fallback import interval shown in a notice above includes the default cron interval currently in use.', 'wporg' ) ), 227 227 $interval_display 228 228 ); -
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/handbook.php
r15020 r15179 225 225 } elseif ( is_admin() && ( $config['manifest'] ?: false ) ) { 226 226 add_action( 'admin_notices', function () { 227 echo '<div class="notice notice-error"><p>' . __( 'Error: The <strong>WPORG Markdown Importer</strong> plugin needs to be activated in order to allow importing of handbooks.', 'wporg') . '</p></div>';227 echo '<div class="notice notice-error"><p>' . wp_kses_post( __( 'Error: The <strong>WPORG Markdown Importer</strong> plugin needs to be activated in order to allow importing of handbooks.', 'wporg' ) ) . '</p></div>'; 228 228 } ); 229 229 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/navigation.php
r15107 r15179 379 379 380 380 <nav class="handbook-navigation" role="navigation"> 381 <h1 class="screen-reader-text"><?php _e( 'Handbook navigation', 'wporg' ); ?></h1>381 <h1 class="screen-reader-text"><?php esc_html_e( 'Handbook navigation', 'wporg' ); ?></h1> 382 382 <div class="nav-links"> 383 383 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/watchlist.php
r15170 r15179 161 161 if ( $watchlist && in_array( get_current_user_id(), $watchlist ) ) { 162 162 printf( 163 __( '<a href="%s" title="%s">Unwatch</a>', 'wporg' ),163 '<a href="%s" title="%s">%s</a>', 164 164 esc_url( wp_nonce_url( admin_url( 'admin-post.php?action=wporg_watchlist&post_id=' . $post->ID ), 'unwatch-' . $post->ID ) ), 165 esc_attr__( 'Stop getting notified about changes to this page', 'wporg' ) 165 esc_attr__( 'Stop getting notified about changes to this page', 'wporg' ), 166 esc_html__( 'Unwatch', 'wporg' ) 166 167 ); 167 168 } else { 168 169 printf( 169 __( '<a href="%s" title="%s">Watch</a>', 'wporg' ),170 '<a href="%s" title="%s">%s</a>', 170 171 esc_url( wp_nonce_url( admin_url( 'admin-post.php?action=wporg_watchlist&watch=1&post_id=' . $post->ID ), 'watch-' . $post->ID ) ), 171 esc_attr__( 'Get notified about changes to this page', 'wporg' ) 172 esc_attr__( 'Get notified about changes to this page', 'wporg' ), 173 esc_html__( 'Watch', 'wporg' ) 172 174 ); 173 175 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/widgets.php
r12079 r15179 53 53 <p> 54 54 <input class="widefat" id="<?php echo esc_attr( $this->get_field_id('show_home') ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'show_home' ) ); ?>" type="checkbox" value="1" <?php echo $checked ?> /> 55 <label for="<?php echo esc_attr( $this->get_field_id( 'show_home' ) ); ?>"><?php _e( 'List the home page', 'wporg' ); ?></label>55 <label for="<?php echo esc_attr( $this->get_field_id( 'show_home' ) ); ?>"><?php esc_html_e( 'List the home page', 'wporg' ); ?></label> 56 56 </p> 57 57 <?php -
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/admin.php
r15170 r15179 107 107 /* translators: %s: URL to settings page for enabling/disabling photo uploads. */ 108 108 sprintf( 109 __( '<strong>Photo uploads are currently disabled for all users!</strong> Uncheck <a href="%s">the setting</a> to re-enable uploading.', 'wporg-photos' ), 109 /* translators: %s: Media settings URL. */ 110 wp_kses_post( __( '<strong>Photo uploads are currently disabled for all users!</strong> Uncheck <a href="%s">the setting</a> to re-enable uploading.', 'wporg-photos' ) ), 110 111 esc_url( admin_url( 'options-media.php' ) . '#' . Settings::KILLSWITCH_OPTION_NAME ) 111 112 ) … … 188 189 echo '<div class="notice notice-error is-dismissible notice-missing-taxonomies"><p>'; 189 190 printf( 190 __( '<strong>Error:</strong> Photo was not published because the following taxonomies are missing terms: %s', 'wporg-photos' ), 191 /* translators: %s: Missing taxonomy names. */ 192 wp_kses_post( __( '<strong>Error:</strong> Photo was not published because the following taxonomies are missing terms: %s', 'wporg-photos' ) ), 191 193 '<strong>' . implode( '</strong>, <strong>', $missing_taxonomies ) . '</strong>' 192 194 ); … … 872 874 873 875 if ( ! $shown_photos ) { 874 echo '<p>' . __( 'This contributor does not have any other submitted photos.', 'wporg-photos' ) . "</p>\n";876 echo '<p>' . esc_html__( 'This contributor does not have any other submitted photos.', 'wporg-photos' ) . "</p>\n"; 875 877 } 876 878 … … 886 888 '<a href="%s">%s</a>', 887 889 esc_url( $link ), 888 __( "View all photos from this contributor →", 'wporg-photos' )890 esc_html__( 'View all photos from this contributor →', 'wporg-photos' ) 889 891 ); 890 892 echo '</div>' . "\n"; … … 1207 1209 /* translators: %s: Linked number of photos submitted by user. */ 1208 1210 printf( 1209 __( 'Published photos: <strong>%s</strong>', 'wporg-photos' ), 1211 /* translators: %s: Number of published photos, possibly linked. */ 1212 wp_kses_post( __( 'Published photos: <strong>%s</strong>', 'wporg-photos' ) ), 1210 1213 ( 0 === $published_count ) 1211 1214 ? $published_count … … 1222 1225 /* translators: %s: Linked number of photos submitted by user that have been rejected. */ 1223 1226 printf( 1224 __( 'Rejected photos: <strong>%s</strong>', 'wporg-photos' ), 1227 /* translators: %s: Number of rejected photos, possibly linked. */ 1228 wp_kses_post( __( 'Rejected photos: <strong>%s</strong>', 'wporg-photos' ) ), 1225 1229 ( 0 === $rejected_count ) 1226 1230 ? $rejected_count … … 1241 1245 printf( 1242 1246 /* translators: %s: Count of user's flagged photos possibly linked to listing of their flagged photos. */ 1243 _n( 'Flagged photos: <strong>%s</strong>', 'Flagged photos: <strong>%s</strong>', $flagged_count, 'wporg-photos'),1247 wp_kses_post( _n( 'Flagged photos: <strong>%s</strong>', 'Flagged photos: <strong>%s</strong>', $flagged_count, 'wporg-photos' ) ), 1244 1248 $flagged_link ? sprintf( '<a href="%s">%d</a>', esc_url( $flagged_link ), (int) $flagged_count ) : (int) $flagged_count 1245 1249 ); … … 1252 1256 'author' => $author->ID, 1253 1257 ]; 1254 /* translators: %s: Linked number of photos submitted by user that have been rejected. */1255 1258 printf( 1256 __( 'Pending photos: <strong>%s</strong>', 'wporg-photos' ), 1259 /* translators: %s: Number of pending photos, possibly linked. */ 1260 wp_kses_post( __( 'Pending photos: <strong>%s</strong>', 'wporg-photos' ) ), 1257 1261 ( 0 === $pending_count ) 1258 1262 ? $pending_count … … 1262 1266 <li><?php 1263 1267 /* translators: %s: Date user account was created. */ 1264 printf( __( 'Created: <strong>%s</strong>', 'wporg-photos' ), $account_created ); ?></li> 1268 printf( wp_kses_post( __( 'Created: <strong>%s</strong>', 'wporg-photos' ) ), esc_html( $account_created ) ); 1269 ?> 1270 </li> 1265 1271 </ul> 1266 1272 </div> … … 1300 1306 if ( $rejection_reasons ) { 1301 1307 echo '<table>'; 1302 echo '<tr><th>' . __( 'Reason', 'wporg-photos' ) . '</th><th>' .__( 'Total', 'wporg-photos' ) . '</th><th>%</th></tr>';1308 echo '<tr><th>' . esc_html__( 'Reason', 'wporg-photos' ) . '</th><th>' . esc_html__( 'Total', 'wporg-photos' ) . '</th><th>%</th></tr>'; 1303 1309 } 1304 1310 foreach ( $rejection_reasons as $reason => $count ) { … … 1321 1327 printf( 1322 1328 /* translators: %s: Rejection rate as a percentage. */ 1323 __( 'Total rejection rate: %s', 'wporg-photos'),1329 esc_html__( 'Total rejection rate: %s', 'wporg-photos' ), 1324 1330 '<strong>' . $rejection_rate .'%</strong>' 1325 1331 ); … … 1329 1335 echo '<p>'; 1330 1336 /* translators: %s: The number of submission errors. */ 1331 printf( __( 'Submission errors (which are\'t counted as submissions): %s', 'wporg-photos' ),$submission_errors_count );1337 printf( esc_html__( 'Submission errors (which aren’t counted as submissions): %s', 'wporg-photos' ), (int) $submission_errors_count ); 1332 1338 echo "</p>\n"; 1333 1339 } … … 1357 1363 // Output file hash. 1358 1364 if ( $file_hash = get_post_meta( $post_id, Registrations::get_meta_key( 'file_hash' ), true ) ) { 1359 printf( $format, 'file-hash', __( 'File hash', 'wporg-photos' ), $file_hash);1365 echo wp_kses_post( sprintf( $format, 'file-hash', esc_html__( 'File hash', 'wporg-photos' ), esc_html( $file_hash ) ) ); 1360 1366 } 1361 1367 1362 1368 // Output original filename. 1363 1369 if ( $orig_filename = get_post_meta( $post_id, Registrations::get_meta_key( 'original_filename' ), true ) ) { 1364 printf( $format, 'original-filename', __( 'Original file name', 'wporg-photos' ), esc_html( $orig_filename) );1370 echo wp_kses_post( sprintf( $format, 'original-filename', esc_html__( 'Original file name', 'wporg-photos' ), esc_html( $orig_filename ) ) ); 1365 1371 } 1366 1372 … … 1447 1453 ! current_user_can( get_post_type_object( 'post' )->cap->create_posts ) 1448 1454 ) { 1449 wp_die( __( 'Sorry, you are not allowed to access the media library.', 'wporg-photos' ) );1455 wp_die( esc_html__( 'Sorry, you are not allowed to access the media library.', 'wporg-photos' ) ); 1450 1456 } 1451 1457 } … … 1683 1689 esc_url( add_query_arg( 'skipphoto', '1' ) ), 1684 1690 esc_attr__( 'Skip this photo and load another.', 'wporg-photos' ), 1685 __( 'Skip Photo', 'wporg-photos')1691 esc_html__( 'Skip Photo', 'wporg-photos' ) 1686 1692 ); 1687 1693 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/flagged.php
r15118 r15179 224 224 ! current_user_can( self::get_capability() ) 225 225 ) { 226 wp_die( __( 'Sorry, you are not allowed to edit this post.', 'wporg-photos' ) );226 wp_die( esc_html__( 'Sorry, you are not allowed to edit this post.', 'wporg-photos' ) ); 227 227 } 228 228 } … … 395 395 const optionExists = Array.from(select.options).some(opt => opt.value === post_status); 396 396 if (!optionExists) { 397 const newOption = new Option( "<?php _e( 'Flagged', 'wporg-photos' ); ?>", post_status);397 const newOption = new Option( <?php echo wp_json_encode( __( 'Flagged', 'wporg-photos' ) ); ?>, post_status); 398 398 select.add(newOption); 399 399 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/moderation.php
r15118 r15179 869 869 echo '<table id="dashboard-photo-moderators" class="wp-list-table widefat fixed striped table-view-list">'; 870 870 echo '<thead><tr>'; 871 echo '<th>' . __( 'Moderator', 'wporg-photos' ) . '</th>';871 echo '<th>' . esc_html__( 'Moderator', 'wporg-photos' ) . '</th>'; 872 872 echo '<th class="col-num-approved" title="' . esc_attr__( 'Number of photos approved', 'wporg-photos' ) . '"><span class="dashicons dashicons-thumbs-up"></span></th>'; 873 873 echo '<th class="col-num-rejected" title="' . esc_attr__( 'Number of photos rejected', 'wporg-photos' ) . '"><span class="dashicons dashicons-thumbs-down"></span></th>'; 874 echo '<th class="col-last-mod-date">' . __( 'Last Moderated', 'wporg-photos' ) . '</th>';874 echo '<th class="col-last-mod-date">' . esc_html__( 'Last Moderated', 'wporg-photos' ) . '</th>'; 875 875 echo '</tr></thead>'; 876 876 echo '<tbody>'; -
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/rejection.php
r15084 r15179 874 874 875 875 echo '<div class="misc-pub-section curtime misc-pub-curtime">'; 876 printf( __( 'Rejected by: %s', 'wporg-photos' ), '<b>' . $rejection_user . '</b>' ); 876 /* translators: %s: Name of the rejecting user. */ 877 printf( esc_html__( 'Rejected by: %s', 'wporg-photos' ), '<b>' . wp_kses_post( $rejection_user ) . '</b>' ); 877 878 echo '<br>'; 878 printf( __( 'Rejected on: %s', 'wporg-photos' ), '<b>' . $rejection_date . '</b>' ); 879 /* translators: %s: Rejection date. */ 880 printf( esc_html__( 'Rejected on: %s', 'wporg-photos' ), '<b>' . esc_html( $rejection_date ) . '</b>' ); 879 881 echo '</div>'; 880 882 } … … 1009 1011 } 1010 1012 1011 echo '<label for="rejected_reason">' . __( 'Reject due to:', 'wporg-photos' ) . '<br>';1013 echo '<label for="rejected_reason">' . esc_html__( 'Reject due to:', 'wporg-photos' ) . '<br>'; 1012 1014 printf( 1013 1015 '<select id="rejected_reason" name="rejected_reason"%s>', … … 1030 1032 1031 1033 // Markup for optional note to send to user in rejection email. 1032 echo '<label for="moderator_note_to_user" class="moderator_note_to_user' . esc_attr( $note_to_user_label_class ) . '">' . __( '(Optional) Note to user on rejection:', 'wporg-photos' );1033 echo '<p class="description"><em>' . __( 'Included in rejection email.', 'wporg-photos' ) . '</em></p>';1034 echo '<label for="moderator_note_to_user" class="moderator_note_to_user' . esc_attr( $note_to_user_label_class ) . '">' . esc_html__( '(Optional) Note to user on rejection:', 'wporg-photos' ); 1035 echo '<p class="description"><em>' . esc_html__( 'Included in rejection email.', 'wporg-photos' ) . '</em></p>'; 1034 1036 echo '<textarea id="moderator_note_to_user" name="moderator_note_to_user" rows="4"' . disabled( true, $is_disabled, false ) . '>'; 1035 1037 echo esc_textarea( self::get_moderator_note_to_user( $post, 'reject' ) ); … … 1038 1040 1039 1041 // Markup for optional note sent to user in approval email. 1040 echo '<label for="moderator_note_to_user_on_publish" class="moderator_note_to_user_on_publish' . esc_attr( $note_to_user_label_class ) . '">' . __( '(Optional) Note to user on approval:', 'wporg-photos' );1041 echo '<p class="description"><em>' . __( 'Included in approval email.', 'wporg-photos' ) . '</em></p>';1042 echo '<label for="moderator_note_to_user_on_publish" class="moderator_note_to_user_on_publish' . esc_attr( $note_to_user_label_class ) . '">' . esc_html__( '(Optional) Note to user on approval:', 'wporg-photos' ); 1043 echo '<p class="description"><em>' . esc_html__( 'Included in approval email.', 'wporg-photos' ) . '</em></p>'; 1042 1044 echo '<textarea id="moderator_note_to_user_on_publish" name="moderator_note_to_user_on_publish" rows="4"' . disabled( true, $is_disabled, false ) . '>'; 1043 1045 echo esc_textarea( self::get_moderator_note_to_user( $post, 'publish' ) ); … … 1046 1048 1047 1049 // Markup for optional private note for moderator-eyes only. 1048 echo '<label for="moderator_private_note">' . __( '(Optional) Private moderators-only note:', 'wporg-photos' );1050 echo '<label for="moderator_private_note">' . esc_html__( '(Optional) Private moderators-only note:', 'wporg-photos' ); 1049 1051 echo '<textarea id="moderator_private_note" name="moderator_private_note" rows="4">'; 1050 1052 echo esc_textarea( self::get_moderator_private_note( $post ) ); … … 1369 1371 echo '<table id="dashboard-photo-rejection-stats" class="wp-list-table widefat fixed striped table-view-list">'; 1370 1372 echo '<thead><tr>'; 1371 echo '<th>' . __( 'Rejection reason', 'wporg-photos' ) . '</th>';1373 echo '<th>' . esc_html__( 'Rejection reason', 'wporg-photos' ) . '</th>'; 1372 1374 echo '<th class="col-num col-num-rejected" title="' . esc_attr__( 'Number of photos rejected', 'wporg-photos' ) . '"><span class="dashicons dashicons-thumbs-down"></span></th>'; 1373 1375 echo '<th class="col-num col-percent-rejected" title="' . esc_attr( 'Percentage of overall rejections', 'wporg-photos' ) . '">%</th>'; … … 1390 1392 } 1391 1393 1392 echo '<tr class="row-sum"><td>' . __( 'Total', 'wporg-photos' ) . '</td><td>' . number_format_i18n( $total_rejections) . '</td><td>100%</td></tr>';1394 echo '<tr class="row-sum"><td>' . esc_html__( 'Total', 'wporg-photos' ) . '</td><td>' . esc_html( number_format_i18n( $total_rejections ) ) . '</td><td>100%</td></tr>'; 1393 1395 echo '</tbody></table>'; 1394 1396 echo '</div>'; -
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/settings.php
r12058 r15179 73 73 esc_attr( self::KILLSWITCH_OPTION_NAME ), 74 74 checked( true, self::is_killswitch_enabled(), false ), 75 __( 'Prevents all users from being able to upload any photos', 'wporg-photos' )75 esc_html__( 'Prevents all users from being able to upload any photos', 'wporg-photos' ) 76 76 ); 77 77 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php
r15170 r15179 182 182 ?> 183 183 <div class="wrap"> 184 <h1><?php _e( 'Plugin Tools', 'wporg-plugins' ); ?></h1>184 <h1><?php esc_html_e( 'Plugin Tools', 'wporg-plugins' ); ?></h1> 185 185 <ul> 186 186 <?php … … 589 589 wp_die( sprintf( 590 590 /* translators: %s: plugin slug */ 591 __( 'Error: The plugin %s already exists.', 'wporg-plugins' ),591 esc_html__( 'Error: The plugin %s already exists.', 'wporg-plugins' ), 592 592 $new_slug 593 593 ) ); … … 669 669 wp_die( sprintf( 670 670 /* translators: %s: plugin slug */ 671 __( 'Error: The plugin %s already exists.', 'wporg-plugins' ),671 esc_html__( 'Error: The plugin %s already exists.', 'wporg-plugins' ), 672 672 $original_slug 673 673 ) ); … … 891 891 $user = wp_get_current_user(); 892 892 if ( ! $user->exists() ) { 893 wp_die( __( 'Sorry, you must be logged in to reply to a comment.', 'wporg-plugins' ) );893 wp_die( esc_html__( 'Sorry, you must be logged in to reply to a comment.', 'wporg-plugins' ) ); 894 894 } 895 895 … … 913 913 914 914 if ( '' == $comment_content ) { 915 wp_die( __( 'ERROR: please type a comment.', 'wporg-plugins' ) );915 wp_die( esc_html__( 'ERROR: please type a comment.', 'wporg-plugins' ) ); 916 916 } 917 917 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-status-transitions.php
r15133 r15179 133 133 134 134 // ...DIE!!!!! 135 wp_die( __( 'You do not have permission to assign this post status to a plugin.', 'wporg-plugins' ), '', array( 136 'back_link' => true, 137 ) ); 135 wp_die( 136 esc_html__( 'You do not have permission to assign this post status to a plugin.', 'wporg-plugins' ), 137 '', 138 array( 139 'back_link' => true, 140 ) 141 ); 138 142 } 139 143 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/list-table/class-committers.php
r13871 r15179 60 60 */ 61 61 public function no_items() { 62 _e( 'No committers found.', 'wporg-plugins' );62 esc_html_e( 'No committers found.', 'wporg-plugins' ); 63 63 } 64 64 … … 127 127 <tr id="add-committer" class="add-committer wp-hidden-children"> 128 128 <td colspan="2"> 129 <button type="button" id="add-committer-toggle" class="button-link"><?php _e( '+ Add New Committer', 'wporg-plugins' ); ?></button>129 <button type="button" id="add-committer-toggle" class="button-link"><?php esc_html_e( '+ Add New Committer', 'wporg-plugins' ); ?></button> 130 130 <p class="wp-hidden-child"> 131 131 <?php wp_nonce_field( 'add-committer', '_ajax_nonce', false ); ?> … … 133 133 <label> 134 134 <input type="text" name="add_committer" class="form-required" value="" aria-required="true" placeholder="<?php esc_attr_e( 'WordPress.org username', 'wporg-plugins' ); ?>"> 135 <span class="screen-reader-text"><?php _e( 'Add a new committer', 'wporg-plugins' ); ?></span>135 <span class="screen-reader-text"><?php esc_html_e( 'Add a new committer', 'wporg-plugins' ); ?></span> 136 136 </label> 137 <input type="button" id="add-committer-submit" class="button" data-wp-lists="add:the-committer-list:add-committer::post_id=<?php echo get_post()->ID; ?>" value="<?php_e( 'Add Committer', 'wporg-plugins' ); ?>">137 <input type="button" id="add-committer-submit" class="button" data-wp-lists="add:the-committer-list:add-committer::post_id=<?php echo (int) get_post()->ID; ?>" value="<?php esc_attr_e( 'Add Committer', 'wporg-plugins' ); ?>"> 138 138 </p> 139 139 </td> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/list-table/class-plugin-posts.php
r15036 r15179 334 334 335 335 <fieldset class="inline-edit-col-left"> 336 <legend class="inline-edit-legend"><?php _e( 'Quick Edit', 'wporg-plugins' ); ?></legend>336 <legend class="inline-edit-legend"><?php esc_html_e( 'Quick Edit', 'wporg-plugins' ); ?></legend> 337 337 <div class="inline-edit-col"> 338 338 339 339 <label> 340 <span class="title"><?php _e( 'Slug', 'wporg-plugins' ); ?></span>340 <span class="title"><?php esc_html_e( 'Slug', 'wporg-plugins' ); ?></span> 341 341 <span class="input-text-wrap"><input type="text" name="post_name" value="" /></span> 342 342 </label> … … 363 363 364 364 <p class="submit inline-edit-save"> 365 <button type="button" class="button cancel alignleft"><?php _e( 'Cancel', 'wporg-plugins' ); ?></button>365 <button type="button" class="button cancel alignleft"><?php esc_html_e( 'Cancel', 'wporg-plugins' ); ?></button> 366 366 <?php wp_nonce_field( 'inlineeditnonce', '_inline_edit', false ); ?> 367 <button type="button" class="button button-primary save alignright"><?php _e( 'Update', 'wporg-plugins' ); ?></button>367 <button type="button" class="button button-primary save alignright"><?php esc_html_e( 'Update', 'wporg-plugins' ); ?></button> 368 368 <span class="spinner"></span> 369 369 <input type="hidden" name="post_author" value="" /> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/list-table/class-support-reps.php
r14362 r15179 60 60 */ 61 61 public function no_items() { 62 _e( 'No support reps found.', 'wporg-plugins' );62 esc_html_e( 'No support reps found.', 'wporg-plugins' ); 63 63 } 64 64 … … 127 127 <tr id="add-support-rep" class="add-support-rep wp-hidden-children"> 128 128 <td colspan="2"> 129 <button type="button" id="add-support-rep-toggle" class="button-link"><?php _e( '+ Add New Support Rep', 'wporg-plugins' ); ?></button>129 <button type="button" id="add-support-rep-toggle" class="button-link"><?php esc_html_e( '+ Add New Support Rep', 'wporg-plugins' ); ?></button> 130 130 <p class="wp-hidden-child"> 131 131 <?php wp_nonce_field( 'add-support-rep', '_ajax_nonce', false ); ?> … … 133 133 <label> 134 134 <input type="text" name="add_support_rep" class="form-required" value="" aria-required="true" placeholder="<?php esc_attr_e( 'WordPress.org username', 'wporg-plugins' ); ?>"> 135 <span class="screen-reader-text"><?php _e( 'Add a new support rep', 'wporg-plugins' ); ?></span>135 <span class="screen-reader-text"><?php esc_html_e( 'Add a new support rep', 'wporg-plugins' ); ?></span> 136 136 </label> 137 <input type="button" id="add-support-rep-submit" class="button" data-wp-lists="add:the-support-rep-list:add-support-rep::post_id=<?php echo get_post()->ID; ?>" value="<?php_e( 'Add Support Rep', 'wporg-plugins' ); ?>">137 <input type="button" id="add-support-rep-submit" class="button" data-wp-lists="add:the-support-rep-list:add-support-rep::post_id=<?php echo (int) get_post()->ID; ?>" value="<?php esc_attr_e( 'Add Support Rep', 'wporg-plugins' ); ?>"> 138 138 </p> 139 139 </td> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-author-card.php
r15170 r15179 116 116 <?php echo get_avatar( $author->ID, 48 ); ?> 117 117 <div class="profile-details"> 118 <strong><a href="//profiles.wordpress.org/<?php echo $author->user_nicename; ?>/"><?php echo $author->user_login; ?></a></strong>118 <strong><a href="//profiles.wordpress.org/<?php echo esc_attr( $author->user_nicename ); ?>/"><?php echo esc_html( $author->user_login ); ?></a></strong> 119 119 <?php 120 120 $author_links = array( … … 134 134 135 135 <span class="profile-links"> 136 <a href="//profiles.wordpress.org/<?php echo $author->user_nicename; ?>/"><?php_e( 'profile', 'wporg-plugins' ); ?></a> |137 <a href="//wordpress.org/support/users/<?php echo $author->user_nicename; ?>/"><?php_e( 'support', 'wporg-plugins' ); ?></a>136 <a href="//profiles.wordpress.org/<?php echo esc_attr( $author->user_nicename ); ?>/"><?php esc_html_e( 'profile', 'wporg-plugins' ); ?></a> | 137 <a href="//wordpress.org/support/users/<?php echo esc_attr( $author->user_nicename ); ?>/"><?php esc_html_e( 'support', 'wporg-plugins' ); ?></a> 138 138 </span> 139 139 … … 155 155 /* translators: 1: time ago, 2: registration date */ 156 156 printf( 157 __( 'Joined %1$s ago (%2$s)', 'wporg-plugins' ), 157 /* translators: 1: Time since registration, 2: Registration date. */ 158 esc_html__( 'Joined %1$s ago (%2$s)', 'wporg-plugins' ), 158 159 human_time_diff( strtotime( $author->user_registered ) ), 159 160 date( 'Y-M-d', strtotime( $author->user_registered ) ) … … 166 167 <?php if ( ! empty( $author->user_url ) ) : ?> 167 168 <p class="profile-url"> 168 <?php _e( 'Author URL:', 'wporg-plugins' ); ?>169 <?php esc_html_e( 'Author URL:', 'wporg-plugins' ); ?> 169 170 <a href="<?php echo esc_url( $author->user_url ); ?>"><?php echo esc_html( $author->user_url ); ?></a> 170 171 </p> … … 202 203 } 203 204 /* translators: %s: comma-separated list of negative user status labels */ 204 echo '<p>' . sprintf( __( 'This user is: %s', 'wporg-plugins' ), implode( ', ', $labels) ) . '</p>';205 echo '<p>' . sprintf( esc_html__( 'This user is: %s', 'wporg-plugins' ), wp_kses_post( implode( ', ', $labels ) ) ) . '</p>'; 205 206 } 206 207 … … 211 212 $warning_flags = self::get_user_flags( $author->ID, $author_plugins ); 212 213 if ( $warning_flags ) { 213 echo '<strong>' . __( 'Warning Flags:', 'wporg-plugins' ) . '</strong>';214 echo '<strong>' . esc_html__( 'Warning Flags:', 'wporg-plugins' ) . '</strong>'; 214 215 echo '<ul class="plugin-flagged">'; 215 216 foreach ( $warning_flags as $flag => $reasons ) { … … 238 239 /* translators: %s: comma-separated list of plugin author's IP addresses */ 239 240 printf( 240 '<p>' . __( 'IPs : %s', 'wporg-plugins' ) . '</p>', 241 /* translators: %s: List of IP addresses. */ 242 '<p>' . esc_html__( 'IPs : %s', 'wporg-plugins' ) . '</p>', 241 243 implode( ', ', array_map( array( __NAMESPACE__ . '\Author_Card', 'link_ip' ), $user_ips ) ) 242 244 ); … … 245 247 // Include any user notes. 246 248 if ( ! empty( $user_notes ) ) { 247 _e( 'User notes:', 'wporg-plugins' );249 esc_html_e( 'User notes:', 'wporg-plugins' ); 248 250 echo '<ul>'; 249 251 foreach ( $user_notes as $note ) { … … 268 270 <?php 269 271 if ( empty( $author_commit ) && empty( $author_plugins ) ) { 270 _e( 'Not a developer on any plugin.', 'wporg-plugins' );272 esc_html_e( 'Not a developer on any plugin.', 'wporg-plugins' ); 271 273 } else { 272 echo '<strong>' . sprintf( _n( '%d plugin:', '%d plugins:', count( $all_plugins ), 'wporg-plugins' ), count( $all_plugins ) ) . '</strong>'; 274 /* translators: %d: Number of plugins. */ 275 echo '<strong>' . sprintf( esc_html( _n( '%d plugin:', '%d plugins:', count( $all_plugins ), 'wporg-plugins' ) ), count( $all_plugins ) ) . '</strong>'; 273 276 274 277 echo '<ul>'; … … 513 516 esc_url( get_edit_post_link( $plugin->ID, '' ) ), 514 517 esc_attr__( 'Edit this plugin', 'wporg-plugins' ), 515 __( 'Edit', 'wporg-plugins' )518 esc_html__( 'Edit', 'wporg-plugins' ) 516 519 ), 517 520 sprintf( -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-author.php
r6288 r15179 26 26 <label><input id="post_author_username" type="text" value="<?php echo esc_attr( $user->user_login ); ?>" /></label> 27 27 <input id="post_author_override" type="hidden" name="post_author_override" value="<?php echo esc_attr( $value ); ?>" /> 28 <label class="screen-reader-text"><?php _e( 'Author', 'wporg-plugins' ); ?></label>28 <label class="screen-reader-text"><?php esc_html_e( 'Author', 'wporg-plugins' ); ?></label> 29 29 30 30 <script> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-controls.php
r15167 r15179 234 234 <?php if ( 'closed' === $post->post_status ) : ?> 235 235 236 <p><?php printf( __( 'Close Reason: %s', 'wporg-plugins' ), '<strong>' . $close_reason_label . '</strong>' ); ?></p> 236 <?php /* translators: %s: Close reason. */ ?> 237 <p><?php printf( esc_html__( 'Close Reason: %s', 'wporg-plugins' ), '<strong>' . esc_html( $close_reason_label ) . '</strong>' ); ?></p> 237 238 238 239 <?php elseif ( 'disabled' === $post->post_status ) : ?> 239 240 240 <p><?php printf( __( 'Disable Reason: %s', 'wporg-plugins' ), '<strong>' . $close_reason_label . '</strong>' ); ?></p> 241 <?php /* translators: %s: Disable reason. */ ?> 242 <p><?php printf( esc_html__( 'Disable Reason: %s', 'wporg-plugins' ), '<strong>' . esc_html( $close_reason_label ) . '</strong>' ); ?></p> 241 243 242 244 <?php elseif ( 'rejected' === $post->post_status ) : ?> 243 245 244 <p><?php printf( 245 __( 'Rejection Reason: %s', 'wporg-plugins' ), 246 '<strong>' . $rejection_reason_label . '</strong>' 247 ); ?></p> 246 <p> 247 <?php 248 printf( 249 /* translators: %s: Rejection reason. */ 250 esc_html__( 'Rejection Reason: %s', 'wporg-plugins' ), 251 '<strong>' . esc_html( $rejection_reason_label ) . '</strong>' 252 ); 253 ?> 254 </p> 248 255 249 256 <?php elseif ( 'publish' === $post->post_status ) : ?> 250 257 251 258 <?php if ( $active_installs >= '20000' ) : ?> 252 <p><strong><?php _e( 'Notice:', 'wporg-plugins' ); ?></strong> <?php_e( 'Due to the large volume of active users, the developers should be warned and their plugin remain open save under extreme circumstances.', 'wporg-plugins' ); ?>.</p>259 <p><strong><?php esc_html_e( 'Notice:', 'wporg-plugins' ); ?></strong> <?php esc_html_e( 'Due to the large volume of active users, the developers should be warned and their plugin remain open save under extreme circumstances.', 'wporg-plugins' ); ?>.</p> 253 260 <?php endif; ?> 254 261 … … 257 264 <?php if ( array_intersect( $statuses, [ 'closed', 'disabled' ] ) ) { ?> 258 265 <p> 259 <label for="close_reason"><?php _e( 'Close/Disable Reason:', 'wporg-plugins' ); ?></label>266 <label for="close_reason"><?php esc_html_e( 'Close/Disable Reason:', 'wporg-plugins' ); ?></label> 260 267 <select name="close_reason" id="close_reason"> 261 268 <?php foreach ( $close_reasons as $key => $label ) : ?> … … 277 284 if ( $status === 'rejected' ) { ?> 278 285 <p> 279 <label for="rejection_reason"><?php _e( 'Rejection Reason:', 'wporg-plugins' ); ?></label>286 <label for="rejection_reason"><?php esc_html_e( 'Rejection Reason:', 'wporg-plugins' ); ?></label> 280 287 <select name="rejection_reason" id="rejection_reason"> 281 288 <?php foreach ( $rejection_reasons as $key => $label ) : ?> … … 304 311 <table class="misc-pub-section misc-pub-meta"> 305 312 <tr> 306 <td><?php _e( 'Status:', 'wporg-plugins' ); ?></td>313 <td><?php esc_html_e( 'Status:', 'wporg-plugins' ); ?></td> 307 314 <td><strong><?php echo esc_html( get_post_status_object( $post->post_status )->label ); ?></strong></td> 308 315 </tr> 309 316 310 317 <tr> 311 <td><?php _e( 'Version:', 'wporg-plugins' ); ?></td>318 <td><?php esc_html_e( 'Version:', 'wporg-plugins' ); ?></td> 312 319 <td><strong><?php echo esc_html( $post->version ); ?></strong></td> 313 320 </tr> 314 321 315 322 <tr> 316 <td><?php _e( 'Updated:', 'wporg-plugins' ); ?></td>323 <td><?php esc_html_e( 'Updated:', 'wporg-plugins' ); ?></td> 317 324 <td><strong><?php 318 325 printf( … … 325 332 326 333 <tr> 327 <td><?php _e( 'Submitted:', 'wporg-plugins' ); ?></td>334 <td><?php esc_html_e( 'Submitted:', 'wporg-plugins' ); ?></td> 328 335 <td><strong><?php 329 336 $submitted_date = min( array_filter( [ … … 342 349 343 350 <tr> 344 <td><?php _e( 'Installs:', 'wporg-plugins' ); ?></td>351 <td><?php esc_html_e( 'Installs:', 'wporg-plugins' ); ?></td> 345 352 <td><strong><?php echo Template::active_installs( false, $post ); ?></strong></td> 346 353 </tr> … … 365 372 <?php if ( $post->tested ) : ?> 366 373 <tr> 367 <td><?php _e( 'Tested With:', 'wporg-plugins' ); ?></td>374 <td><?php esc_html_e( 'Tested With:', 'wporg-plugins' ); ?></td> 368 375 <td><strong><?php printf( 'WordPress %s', esc_html( $post->tested ) ); ?></strong></td> 369 376 </tr> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-internal-notes.php
r9682 r15179 33 33 ?> 34 34 <p class="hide-if-no-js" id="add-new-comment"> 35 <a class="button" href="#commentstatusdiv"><?php _e( 'Add note', 'wporg-plugins' ); ?></a>35 <a class="button" href="#commentstatusdiv"><?php esc_html_e( 'Add note', 'wporg-plugins' ); ?></a> 36 36 </p> 37 37 <?php -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-review-tools.php
r15170 r15179 160 160 echo '<label> 161 161 <input type="file" class="plugin-file" name="zip_file" size="25" accept=".zip"/> 162 <button class="button button-secondary plugin-upload-zip">' . __( 'Upload', 'wporg-plugins' ) . '</button>162 <button class="button button-secondary plugin-upload-zip">' . esc_html__( 'Upload', 'wporg-plugins' ) . '</button> 163 163 </label>'; 164 164 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/tools/class-author-cards.php
r15044 r15179 79 79 80 80 echo '<div class="wrap author-cards">'; 81 echo '<h1>' . __( 'Author Cards', 'wporg-plugins' ) . '</h1>';81 echo '<h1>' . esc_html__( 'Author Cards', 'wporg-plugins' ) . '</h1>'; 82 82 83 echo '<p>' . __( 'This is a tool to display an author card for one or more specified users.', 'wporg-plugins' ) . '</p>';83 echo '<p>' . esc_html__( 'This is a tool to display an author card for one or more specified users.', 'wporg-plugins' ) . '</p>'; 84 84 85 85 echo '<form method="GET">'; 86 86 echo '<table class="form-table"><tbody><tr>'; 87 echo '<th scope="row"><label for="users">' . __( 'Users', 'wporg-plugins' ) . '</label></th><td>';87 echo '<th scope="row"><label for="users">' . esc_html__( 'Users', 'wporg-plugins' ) . '</label></th><td>'; 88 88 echo '<input name="page" type="hidden" value="' . esc_attr( $_REQUEST['page'] ) . '">'; 89 89 echo '<input name="users" type="text" id="users" value="' . esc_attr( $usernames ) . '" class="regular-text">'; 90 echo '<p>' . __( 'Comma-separated list of user slugs, logins, and/or email addresses.', 'wporg-plugins' ) . '</p>';90 echo '<p>' . esc_html__( 'Comma-separated list of user slugs, logins, and/or email addresses.', 'wporg-plugins' ) . '</p>'; 91 91 echo '</td></tr></tbody></table>'; 92 92 echo '<p class="submit"><input type="submit" id="submit" class="button button-primary" value="' . esc_attr__( 'Submit', 'wporg-plugins' ) . '"></p>'; … … 94 94 95 95 if ( $usernames ) { 96 echo '<h2>' . __( 'Results', 'wporg-plugins' ) . '</h2>';96 echo '<h2>' . esc_html__( 'Results', 'wporg-plugins' ) . '</h2>'; 97 97 98 98 echo '<div class="main">'; … … 131 131 echo esc_html( $username ); 132 132 echo '</strong></span></p>'; 133 echo '<p><em>' . __( 'No user found with this slug, login, or email address.', 'wporg-plugins' ) . '</em></p>';133 echo '<p><em>' . esc_html__( 'No user found with this slug, login, or email address.', 'wporg-plugins' ) . '</em></p>'; 134 134 echo '</div>'; 135 135 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/tools/class-stats-report.php
r14701 r15179 366 366 <div class="wrap stats-report"> 367 367 368 <h1><?php _e( 'Plugin Repository and email Stats Report', 'wporg-plugins' ); ?></h1>368 <h1><?php esc_html_e( 'Plugin Repository and email Stats Report', 'wporg-plugins' ); ?></h1> 369 369 370 370 <form method="get"> 371 371 <input type="hidden" name="page" value="<?php echo esc_attr( $_REQUEST['page'] ); ?>"/> 372 372 <table class="form-table"><tbody> 373 <tr><th scope="row"><label for="date"><?php _e( 'Date', 'wporg-plugins' ); ?></label></th><td>373 <tr><th scope="row"><label for="date"><?php esc_html_e( 'Date', 'wporg-plugins' ); ?></label></th><td> 374 374 <input name="date" type="text" id="date" value="<?php echo esc_attr( $args['date'] ); ?>" class="text"> 375 375 <p> … … 377 377 /* translators: %s: today's date */ 378 378 printf( 379 __( 'The day up to which stats are to be gathered. In YYYY-MM-DD format. Defaults to today (%s).', 'wporg-plugins' ), 379 /* translators: %s: Today's date. */ 380 esc_html__( 'The day up to which stats are to be gathered. In YYYY-MM-DD format. Defaults to today (%s).', 'wporg-plugins' ), 380 381 esc_html( $date ) 381 382 ); … … 384 385 </td></tr> 385 386 386 <tr><th scope="row"><label for="days"><?php _e( 'Number of days', 'wporg-plugins' ); ?></label></th><td>387 <tr><th scope="row"><label for="days"><?php esc_html_e( 'Number of days', 'wporg-plugins' ); ?></label></th><td> 387 388 <input name="days" type="text" id="days" value="<?php echo esc_attr( $args['num_days'] ); ?>" class="small-text"> 388 389 <p> … … 390 391 /* translators: %d: 7 */ 391 392 printf( 392 __( 'The number of days before "Date" to include in stats. Default is %d.', 'wporg-plugins' ), 393 /* translators: %d: Default number of days. */ 394 esc_html__( 'The number of days before "Date" to include in stats. Default is %d.', 'wporg-plugins' ), 393 395 7 394 396 ); … … 397 399 </td></tr> 398 400 399 <tr><th scope="row"><label for="recentdays"><?php _e( '"Recent" number of days', 'wporg-plugins' ); ?></label></th><td>401 <tr><th scope="row"><label for="recentdays"><?php esc_html_e( '"Recent" number of days', 'wporg-plugins' ); ?></label></th><td> 400 402 <input name="recentdays" type="text" id="recentdays" value="<?php echo esc_attr( $args['recentdays'] ); ?>" class="small-text"> 401 403 <p> … … 403 405 /* translators: %d: 7 */ 404 406 printf( 405 __( 'The number of days before today to consider as being "recent" (stats marked with **). Default is %d.', 'wporg-plugins' ), 407 /* translators: %d: Default number of days. */ 408 esc_html__( 'The number of days before today to consider as being "recent" (stats marked with **). Default is %d.', 'wporg-plugins' ), 406 409 7 407 410 ); … … 414 417 </form> 415 418 416 <h2><?php _e( 'Stats', 'wporg-plugins' ); ?></h2>419 <h2><?php esc_html_e( 'Stats', 'wporg-plugins' ); ?></h2> 417 420 418 421 <p> … … 420 423 /* translators: 1: number of days, 2: selected date, 3: number of most recent days */ 421 424 printf( 422 __( 'Displaying stats for the %1$d days preceding %2$s (and other stats for the %3$d most recent days).', 'wporg-plugins' ), 425 /* translators: 1: Number of days, 2: Date, 3: Number of recent days. */ 426 esc_html__( 'Displaying stats for the %1$d days preceding %2$s (and other stats for the %3$d most recent days).', 'wporg-plugins' ), 423 427 esc_html( $stats['num_days'] ), 424 428 esc_html( $stats['date'] ), … … 428 432 </p> 429 433 430 <h3><?php _e( 'Plugin Status Change Stats', 'wporg-plugins' ); ?></h3>434 <h3><?php esc_html_e( 'Plugin Status Change Stats', 'wporg-plugins' ); ?></h3> 431 435 432 436 <ul style="font-family:Courier New;"> … … 435 439 /* translators: %d: number of requested plugins */ 436 440 printf( 437 __( 'Plugins requested : %d', 'wporg-plugins' ), 441 /* translators: %d: Number of plugins. */ 442 esc_html__( 'Plugins requested : %d', 'wporg-plugins' ), 438 443 esc_html( $stats['plugin_new'] ) 439 444 ); … … 444 449 /* translators: %s: number of rejected plugins */ 445 450 printf( 446 __( 'Plugins rejected : %s', 'wporg-plugins' ), 451 /* translators: %s: Number of plugins. */ 452 esc_html__( 'Plugins rejected : %s', 'wporg-plugins' ), 447 453 esc_html( $stats['plugin_reject'] ) 448 454 ); … … 453 459 /* translators: %s: number of closed plugins */ 454 460 printf( 455 __( 'Plugins closed : %s', 'wporg-plugins' ), 461 /* translators: %s: Number of plugins. */ 462 esc_html__( 'Plugins closed : %s', 'wporg-plugins' ), 456 463 esc_html( $stats['plugin_delist'] ) 457 464 ); … … 471 478 /* translators: %s: number of approved plugins */ 472 479 printf( 473 __( 'Plugins approved : %s', 'wporg-plugins' ), 480 /* translators: %s: Number of plugins. */ 481 esc_html__( 'Plugins approved : %s', 'wporg-plugins' ), 474 482 esc_html( $stats['plugin_approve'] ) 475 483 ); … … 478 486 </ul> 479 487 480 <h3><?php _e( 'Plugin Queue Stats (current)', 'wporg-plugins' ); ?></h3>488 <h3><?php esc_html_e( 'Plugin Queue Stats (current)', 'wporg-plugins' ); ?></h3> 481 489 482 490 <ul style="font-family:Courier New;"> … … 485 493 /* translators: %d: number of plugins in the queue */ 486 494 printf( 487 __( 'Plugins in the queue (new and pending)* : %d', 'wporg-plugins' ), 495 /* translators: %d: Number of plugins. */ 496 esc_html__( 'Plugins in the queue (new and pending)* : %d', 'wporg-plugins' ), 488 497 esc_html( $stats['in_queue'] ) 489 498 ); … … 494 503 /* translators: 1: number of most recent days, 2: number of older plugins in the queue */ 495 504 printf( 496 __( '→ (older than %1$d days ago)** : %2$d', 'wporg-plugins' ), 505 /* translators: 1: Number of days, 2: Number of plugins. */ 506 esc_html__( '→ (older than %1$d days ago)** : %2$d', 'wporg-plugins' ), 497 507 esc_html( $stats['recentdays'] ), 498 508 esc_html( $stats['in_queue_old'] ) … … 504 514 /* translators: 1: start date, 2: end date, 3: number of plugins in the queue within defined time window */ 505 515 printf( 506 __( '→ (%1$s - %2$s) : %3$d', 'wporg-plugins' ), 516 /* translators: 1: Start date, 2: End date, 3: Number of plugins. */ 517 esc_html__( '→ (%1$s - %2$s) : %3$d', 'wporg-plugins' ), 507 518 esc_html( $start_date ), 508 519 esc_html( $stats['date'] ), … … 515 526 /* translators: %d: number of new plugins */ 516 527 printf( 517 __( '→ (new; not processed or replied to yet)* : %d', 'wporg-plugins' ), 528 /* translators: %d: Number of plugins. */ 529 esc_html__( '→ (new; not processed or replied to yet)* : %d', 'wporg-plugins' ), 518 530 esc_html( $stats['in_queue_new'] ) 519 531 ); … … 524 536 /* translators: %d: number of pending plugins */ 525 537 printf( 526 __( '→ (pending; replied to)* : %d', 'wporg-plugins' ), 538 /* translators: %d: Number of plugins. */ 539 esc_html__( '→ (pending; replied to)* : %d', 'wporg-plugins' ), 527 540 esc_html( $stats['in_queue_pending'] ) 528 541 ); … … 533 546 /* translators: %d: number of pending plugins */ 534 547 printf( 535 __( '→ (pending; waiting on author)* : %d', 'wporg-plugins' ), 548 /* translators: %d: Number of plugins. */ 549 esc_html__( '→ (pending; waiting on author)* : %d', 'wporg-plugins' ), 536 550 esc_html( $stats['in_queue_pending_why']['author'] ?? 0 ) 537 551 ); … … 542 556 /* translators: %d: number of pending plugins */ 543 557 printf( 544 __( '→ (pending; waiting on reviewer)* : %d', 'wporg-plugins' ), 558 /* translators: %d: Number of plugins. */ 559 esc_html__( '→ (pending; waiting on reviewer)* : %d', 'wporg-plugins' ), 545 560 esc_html( $stats['in_queue_pending_why']['reviewer'] ?? 0 ) 546 561 ); … … 552 567 /* translators: %d: number of pending plugins */ 553 568 printf( 554 __( '→ (pending; waiting on reviewer, email not yet sent)* : %d', 'wporg-plugins' ), 569 /* translators: %d: Number of plugins. */ 570 esc_html__( '→ (pending; waiting on reviewer, email not yet sent)* : %d', 'wporg-plugins' ), 555 571 esc_html( $stats['in_queue_pending_why']['noemail'] ) 556 572 ); … … 561 577 562 578 <?php if ( defined( 'HELPSCOUT_PLUGINS_MAILBOXID' ) ) : ?> 563 <h3><?php _e( 'Help Scout Queue Stats', 'wporg-plugins' ); ?></h3>579 <h3><?php esc_html_e( 'Help Scout Queue Stats', 'wporg-plugins' ); ?></h3> 564 580 565 581 <ul style="font-family:Courier New;"> … … 632 648 633 649 <ul style="font-style:italic;"> 634 <li><code>*</code> : <?php _e( "Stat reflects current size of queue and does not take into account 'date' or 'day' interval", 'wporg-plugins' ); ?></li>635 <li><code>**</code> : <?php _e( "Stat reflects activity only within the 'recentdays' from today", 'wporg-plugins' ); ?></li>650 <li><code>*</code> : <?php esc_html_e( "Stat reflects current size of queue and does not take into account 'date' or 'day' interval", 'wporg-plugins' ); ?></li> 651 <li><code>**</code> : <?php esc_html_e( "Stat reflects activity only within the 'recentdays' from today", 'wporg-plugins' ); ?></li> 636 652 </ul> 637 653 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/tools/class-upload-token.php
r12522 r15179 119 119 120 120 echo '<div class="wrap author-cards">'; 121 echo '<h1>' . __( 'Upload Token', 'wporg-plugins' ) . '</h1>';122 echo '<p>' . __( 'This tool allows the generation of a one-time-use token to allow a plugin author to upload a plugin bypassing certain checks.', 'wporg-plugins' ) . '</p>';121 echo '<h1>' . esc_html__( 'Upload Token', 'wporg-plugins' ) . '</h1>'; 122 echo '<p>' . esc_html__( 'This tool allows the generation of a one-time-use token to allow a plugin author to upload a plugin bypassing certain checks.', 'wporg-plugins' ) . '</p>'; 123 123 echo '<ol>'; 124 echo '<li>' . __( 'Trademarked terms', 'wporg-plugins' ) . '</li>';125 echo '<li>' . __( 'Active Installs', 'wporg-plugins' ) . '</li>';126 echo '<li>' . __( 'Plugin Check', 'wporg-plugins' ) . '</li>';124 echo '<li>' . esc_html__( 'Trademarked terms', 'wporg-plugins' ) . '</li>'; 125 echo '<li>' . esc_html__( 'Active Installs', 'wporg-plugins' ) . '</li>'; 126 echo '<li>' . esc_html__( 'Plugin Check', 'wporg-plugins' ) . '</li>'; 127 127 echo '</ol>'; 128 128 129 129 echo '<form method="post">'; 130 130 echo '<table class="form-table"><tbody>'; 131 echo '<tr><th scope="row"><label for="users">' . __( 'User', 'wporg-plugins' ) . '</label></th><td>';131 echo '<tr><th scope="row"><label for="users">' . esc_html__( 'User', 'wporg-plugins' ) . '</label></th><td>'; 132 132 echo '<input name="user" type="text" id="user" value="' . esc_attr( $username ) . '" class="regular-text">'; 133 133 echo '</td></tr>'; 134 echo '<tr><th scope="row"><label for="expiration">' . __( 'Expiration', 'wporg-plugins' ) . '</label></th><td>';134 echo '<tr><th scope="row"><label for="expiration">' . esc_html__( 'Expiration', 'wporg-plugins' ) . '</label></th><td>'; 135 135 echo '<input name="expiration" type="datetime-local" id="expiration" value="' . esc_attr( $expiration ) . '" class="regular-text">'; 136 136 echo '</td></tr>'; … … 154 154 printf( 155 155 '<div class="notice inline notice-error"><p>%s</p></div>', 156 __( 'User not found.', 'wporg-plugins' )156 esc_html__( 'User not found.', 'wporg-plugins' ) 157 157 ); 158 158 return; … … 163 163 printf( 164 164 '<div class="notice inline notice-error"><p>%s</p></div>', 165 __( 'User already had a valid token, replacing it.', 'wporg-plugins' )165 esc_html__( 'User already had a valid token, replacing it.', 'wporg-plugins' ) 166 166 ); 167 167 } … … 172 172 '<div class="notice inline notice-success"><p>%s</p></div>', 173 173 sprintf( 174 __( 'Token created. Please provide the author with the following URL: <a href="%1$s">%1$s</a>', 'wporg-plugins' ), 174 /* translators: %1$s: Upload URL. */ 175 wp_kses_post( __( 'Token created. Please provide the author with the following URL: <a href="%1$s">%1$s</a>', 'wporg-plugins' ) ), 175 176 esc_url( 176 177 add_query_arg( -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-plugin.php
r15133 r15179 414 414 $review_author_markup .= get_avatar( $reviewer->ID, 16, 'monsterid' ) . '</a>'; 415 415 $review_author_markup .= '<a href="' . $review_author_markup_profile . '" class="reviewer-name">'; 416 $review_author_markup .= $reviewer->display_name;416 $review_author_markup .= esc_html( $reviewer->display_name ); 417 417 if ( $reviewer->display_name != $reviewer->user_login ) { 418 $review_author_markup .= " <small>({$reviewer->user_login})</small>";418 $review_author_markup .= ' <small>(' . esc_html( $reviewer->user_login ) . ')</small>'; 419 419 } 420 420 $review_author_markup .= '</a>'; 421 421 422 422 printf( 423 __( 'By %1$s on %2$s', 'wporg-plugins' ), 423 /* translators: 1: Review author, 2: Review date. */ 424 esc_html__( 'By %1$s on %2$s', 'wporg-plugins' ), 424 425 $review_author_markup, 425 426 '<span class="review-date">' . date_i18n( get_option( 'date_format' ), strtotime( $review->post_modified ) ) . '</span>' -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-block-validator.php
r15170 r15179 21 21 <div class="wrap block-validator"> 22 22 <form method="post" action="." class="block-validator__plugin-form"> 23 <label for="plugin_url"><?php _e( 'Plugin repo URL', 'wporg-plugins' ); ?></label>23 <label for="plugin_url"><?php esc_html_e( 'Plugin repo URL', 'wporg-plugins' ); ?></label> 24 24 <div class="block-validator__plugin-input-container"> 25 25 <input type="text" class="block-validator__plugin-input" id="plugin_url" name="plugin_url" placeholder="https://plugins.svn.wordpress.org/" value="<?php echo esc_attr( $plugin_url ); ?>" /> … … 38 38 <div class="plugin-upload-form-controls"> 39 39 <input type="file" id="zip_file" class="plugin-file" name="zip_file" size="25" accept=".zip"/> 40 <label id="zip-file-label" for="zip_file"><?php _e( 'Select File', 'wporg-plugins' ); ?></label>40 <label id="zip-file-label" for="zip_file"><?php esc_html_e( 'Select File', 'wporg-plugins' ); ?></label> 41 41 42 42 <div class="wp-block-button is-small"> … … 92 92 <?php else : ?> 93 93 <div class="wrap block-validator"> 94 <p><?php _e( 'Please log in to use the block plugin checker.', 'wporg-plugins' ); ?></p>94 <p><?php esc_html_e( 'Please log in to use the block plugin checker.', 'wporg-plugins' ); ?></p> 95 95 </div> 96 96 <?php endif; … … 133 133 self::maybe_send_email_plugin_added( $post ); 134 134 Plugin_Import::queue( $post->post_name, array( 'tags_touched' => array( $post->stable_tag ) ) ); 135 echo '<div class="notice notice-success notice-alt"><p>' . __( 'Plugin added to the block directory.', 'wporg-plugins' ) . '</p></div>';135 echo '<div class="notice notice-success notice-alt"><p>' . esc_html__( 'Plugin added to the block directory.', 'wporg-plugins' ) . '</p></div>'; 136 136 } elseif ( 'remove' === $_POST['block-directory-edit'] ) { 137 137 Tools::audit_log( 'Plugin removed from block directory.', $post->ID ); 138 echo '<div class="notice notice-info notice-alt"><p>' . __( 'Plugin removed from the block directory.', 'wporg-plugins' ) . '</p></div>';138 echo '<div class="notice notice-info notice-alt"><p>' . esc_html__( 'Plugin removed from the block directory.', 'wporg-plugins' ) . '</p></div>'; 139 139 } 140 140 } … … 150 150 if ( current_user_can( 'edit_post', $post->ID ) ) { 151 151 if ( self::maybe_send_email_block_error( $post ) ) { 152 echo '<div class="notice notice-success notice-alt"><p>' . __( 'Email sent.', 'wporg-plugins' ) . '</p></div>';152 echo '<div class="notice notice-success notice-alt"><p>' . esc_html__( 'Email sent.', 'wporg-plugins' ) . '</p></div>'; 153 153 } 154 154 } … … 182 182 echo wp_nonce_field( 'block-directory-edit-' . $plugin->ID, 'block-directory-nonce' ); 183 183 // translators: %s plugin title. 184 echo '<button class="button button-secondary button-large" type="submit" name="block-directory-edit" value="remove">' . sprintf( __( 'Remove %s from Block Directory', 'wporg-plugins' ), $plugin->post_title) . '</button>';184 echo '<button class="button button-secondary button-large" type="submit" name="block-directory-edit" value="remove">' . sprintf( esc_html__( 'Remove %s from Block Directory', 'wporg-plugins' ), esc_html( $plugin->post_title ) ) . '</button>'; 185 185 } else if ( ! $has_errors ) { 186 186 echo wp_nonce_field( 'block-directory-edit-' . $plugin->ID, 'block-directory-nonce' ); 187 187 // translators: %s plugin title. 188 echo '<button class="button button-primary button-large" type="submit" name="block-directory-edit" value="add">' . sprintf( __( 'Add %s to Block Directory', 'wporg-plugins' ), $plugin->post_title) . '</button>';188 echo '<button class="button button-primary button-large" type="submit" name="block-directory-edit" value="add">' . sprintf( esc_html__( 'Add %s to Block Directory', 'wporg-plugins' ), esc_html( $plugin->post_title ) ) . '</button>'; 189 189 } 190 190 … … 223 223 protected static function display_results( $checker ) { 224 224 225 echo '<h2>' . __( 'Results', 'wporg-plugins' ) . '</h2>';225 echo '<h2>' . esc_html__( 'Results', 'wporg-plugins' ) . '</h2>'; 226 226 227 227 $results = $checker->get_results(); … … 231 231 printf( 232 232 // translators: %1$s is the repo URL, %2$s is a version number. 233 __( 'Results for %1$s revision %2$s', 'wporg-plugins' ),233 esc_html__( 'Results for %1$s revision %2$s', 'wporg-plugins' ), 234 234 '<code>' . esc_url( $checker->repo_url ) . '</code>', 235 235 esc_html( $checker->repo_revision ) … … 254 254 ?> 255 255 <div class="notice notice-error notice-alt"> 256 <p><?php _e( 'Some problems were found. They need to be addressed for your plugin to be included in the Block Directory.', 'wporg-plugins' ); ?></p>256 <p><?php esc_html_e( 'Some problems were found. They need to be addressed for your plugin to be included in the Block Directory.', 'wporg-plugins' ); ?></p> 257 257 </div> 258 258 <?php elseif ( $checker->slug ) : ?> 259 259 <?php if ( self::plugin_is_in_block_directory( $checker->slug ) ) : ?> 260 260 <div class="notice notice-info notice-alt"> 261 <p><?php _e( 'This plugin is already in the Block Directory.', 'wporg-plugins' ); ?></p>261 <p><?php esc_html_e( 'This plugin is already in the Block Directory.', 'wporg-plugins' ); ?></p> 262 262 </div> 263 263 <?php elseif ( $has_warnings ) : ?> 264 264 <div class="notice notice-info notice-alt"> 265 <p><?php _e( 'You can add your plugin to the Block Directory.', 'wporg-plugins' ); ?></p>265 <p><?php esc_html_e( 'You can add your plugin to the Block Directory.', 'wporg-plugins' ); ?></p> 266 266 </div> 267 267 <?php else : ?> 268 268 <div class="notice notice-success notice-alt"> 269 <p><?php _e( 'No issues were found. You can add your plugin to the Block Directory.', 'wporg-plugins' ); ?></p>269 <p><?php esc_html_e( 'No issues were found. You can add your plugin to the Block Directory.', 'wporg-plugins' ); ?></p> 270 270 </div> 271 271 <?php endif; ?> … … 275 275 <?php 276 276 printf( 277 __( 'Your plugin passed the checks, but only plugins hosted on WordPress.org can be added to the Block Directory. <a href="%s">Upload your plugin to the WordPress.org repo,</a> then come back here to add it to the Block Directory.', 'wporg-plugins' ), 277 /* translators: %s: Plugin submission URL. */ 278 wp_kses_post( __( 'Your plugin passed the checks, but only plugins hosted on WordPress.org can be added to the Block Directory. <a href="%s">Upload your plugin to the WordPress.org repo,</a> then come back here to add it to the Block Directory.', 'wporg-plugins' ) ), 278 279 esc_url( home_url( 'developers' ) ) 279 280 ); … … 288 289 if ( current_user_can( 'edit_post', $plugin->ID ) ) { 289 290 // Plugin reviewers etc 290 echo '<h3>' . __( 'Plugin Review Tools', 'wporg-plugins' ) . '</h3>';291 echo '<h3>' . esc_html__( 'Plugin Review Tools', 'wporg-plugins' ) . '</h3>'; 291 292 292 293 echo '<ul>'; 293 294 echo '<li><a href="' . esc_url( (string) get_edit_post_link( $plugin->ID ) ) . '">' . esc_html__( 'Edit plugin', 'wporg-plugins' ) . '</a></li>'; 294 echo '<li><a href="' . esc_url( 'https://plugins.trac.wordpress.org/browser/' . $checker->slug . '/trunk' ) . '">' . __( 'Trac browser', 'wporg-plugins' ) . '</a></li>';295 echo '<li><a href="' . esc_url( 'https://plugins.trac.wordpress.org/browser/' . $checker->slug . '/trunk' ) . '">' . esc_html__( 'Trac browser', 'wporg-plugins' ) . '</a></li>'; 295 296 echo '</ul>'; 296 297 … … 299 300 } elseif ( current_user_can( 'plugin_admin_edit', $plugin->ID ) ) { 300 301 // Plugin committers 301 echo '<h3>' . __( 'Committer Tools', 'wporg-plugins' ) . '</h3>';302 echo '<h3>' . esc_html__( 'Committer Tools', 'wporg-plugins' ) . '</h3>'; 302 303 echo '<ul>'; 303 echo '<li><a href="' . esc_url( 'https://plugins.trac.wordpress.org/browser/' . $checker->slug . '/trunk' ) . '">' . __( 'Browse code on trac', 'wporg-plugins' ) . '</a></li>';304 echo '<li><a href="' . esc_url( 'https://plugins.trac.wordpress.org/browser/' . $checker->slug . '/trunk' ) . '">' . esc_html__( 'Browse code on trac', 'wporg-plugins' ) . '</a></li>'; 304 305 echo '</ul>'; 305 306 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-readme-validator.php
r15145 r15179 62 62 </form> 63 63 64 <p><?php _e( '... or paste your <code>readme.txt</code> here:', 'wporg-plugins'); ?></p>64 <p><?php echo wp_kses_post( __( '... or paste your <code>readme.txt</code> here:', 'wporg-plugins' ) ); ?></p> 65 65 <textarea rows="20" cols="100" name="readme_visible" placeholder="=== Plugin Name ==="><?php echo esc_textarea( $readme_contents ); ?></textarea> 66 66 <form id="readme-data" method="post" action=""> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-release-confirmation.php
r15170 r15179 77 77 '<div class="plugin-notice notice notice-error notice-alt"><p>%s</p></div>', 78 78 sprintf( 79 __( 'Your account has elevated privileges and requires extra security before you can manage plugin releases. Please <a href="%s">enable two-factor authentication now</a>.', 'wporg-plugins' ), 79 /* translators: %s: Two-factor authentication setup URL. */ 80 wp_kses_post( __( 'Your account has elevated privileges and requires extra security before you can manage plugin releases. Please <a href="%s">enable two-factor authentication now</a>.', 'wporg-plugins' ) ), 80 81 esc_url( get_2fa_onboarding_url() ) 81 82 ) … … 83 84 } 84 85 85 echo '<p>' . __( 'This page is for authorized committers to view and manage releases of their plugins. Plugins with confirmations enabled require an extra action on this page to approve each new release.', 'wporg-plugins' ) . '</p>';86 echo '<p>' . esc_html__( 'This page is for authorized committers to view and manage releases of their plugins. Plugins with confirmations enabled require an extra action on this page to approve each new release.', 'wporg-plugins' ) . '</p>'; 86 87 87 88 /* translators: %s: plugins@wordpress.org */ 88 echo '<p>' . sprintf( __( 'Release confirmations can be enabled on the Advanced view of plugin pages. If you need to disable release confirmations for a plugin, please contact %s.', 'wporg-plugins' ), 'plugins@wordpress.org' ) . '</p>';89 echo '<p>' . sprintf( esc_html__( 'Release confirmations can be enabled on the Advanced view of plugin pages. If you need to disable release confirmations for a plugin, please contact %s.', 'wporg-plugins' ), 'plugins@wordpress.org' ) . '</p>'; 89 90 90 91 $not_enabled = []; … … 94 95 esc_attr( $plugin->post_name ), 95 96 esc_url( get_permalink( $plugin ) ), 96 get_the_title( $plugin)97 esc_html( get_the_title( $plugin ) ) 97 98 ); 98 99 … … 106 107 if ( $not_enabled ) { 107 108 printf( 108 '<p><em>' . __( 'The following plugins do not have release confirmations enabled: %s', 'wporg-plugins') . '</em></p>', 109 /* translators: %s: List of plugin links. */ 110 '<p><em>' . esc_html__( 'The following plugins do not have release confirmations enabled: %s', 'wporg-plugins' ) . '</em></p>', 109 111 wp_sprintf_l( '%l', array_filter( array_map( function( $plugin ) { 110 112 if ( 'publish' == get_post_status( $plugin ) ) { 111 113 return sprintf( 112 114 '<a href="%s">%s</a>', 113 get_permalink( $plugin),114 get_the_title( $plugin)115 esc_url( get_permalink( $plugin ) ), 116 esc_html( get_the_title( $plugin ) ) 115 117 ); 116 118 } … … 135 137 <thead> 136 138 <tr> 137 <th>' . _x( 'Release', 'Releases Table header', 'wporg-plugins' ) . '</th>139 <th>' . esc_html_x( 'Release', 'Releases Table header', 'wporg-plugins' ) . '</th> 138 140 <th> </th> 139 141 </thead>'; 140 142 141 143 if ( ! $releases ) { 142 echo '<tr class="no-items"><td colspan="5"><em>' . __( 'No releases.', 'wporg-plugins' ) . '</em></td></tr>';144 echo '<tr class="no-items"><td colspan="5"><em>' . esc_html__( 'No releases.', 'wporg-plugins' ) . '</em></td></tr>'; 143 145 } 144 146 … … 166 168 </tr>', 167 169 sprintf( 168 __( 'Version %s', 'wporg-plugins' ), 170 /* translators: %s: Version number, linked. */ 171 esc_html__( 'Version %s', 'wporg-plugins' ), 169 172 sprintf( 170 173 '<a href="%s">%s</a>', … … 179 182 sprintf( 180 183 /* translators: 1: time eg. '3 hours ago', 2: the committer(s). */ 181 __( 'Released %1$s by %2$s', 'wporg-plugins' ),184 esc_html__( 'Released %1$s by %2$s', 'wporg-plugins' ), 182 185 sprintf( 183 186 '<span title="%s">%s</span>', … … 214 217 215 218 if ( ! $data['confirmations_required'] ) { 216 _e( 'Release did not require confirmation.', 'wporg-plugins' );219 esc_html_e( 'Release did not require confirmation.', 'wporg-plugins' ); 217 220 } else if ( ! empty( $data['discarded'] ) ) { 218 _e( 'Release discarded.', 'wporg-plugins' );221 esc_html_e( 'Release discarded.', 'wporg-plugins' ); 219 222 } elseif ( $data['confirmed'] && ! $data['zips_built'] ) { 220 _e( 'Release confirmed, waiting for processing.', 'wporg-plugins' );223 esc_html_e( 'Release confirmed, waiting for processing.', 'wporg-plugins' ); 221 224 } else if ( $data['confirmed'] ) { 222 _e( 'Release confirmed.', 'wporg-plugins' );225 esc_html_e( 'Release confirmed.', 'wporg-plugins' ); 223 226 } else if ( 1 == $data['confirmations_required'] ) { 224 _e( 'Waiting for confirmation.', 'wporg-plugins' );227 esc_html_e( 'Waiting for confirmation.', 'wporg-plugins' ); 225 228 } else { 226 229 printf( 227 __( '%s of %s required confirmations.', 'wporg-plugins' ), 230 /* translators: 1: Number of confirmations, 2: Number of required confirmations. */ 231 esc_html__( '%1$s of %2$s required confirmations.', 'wporg-plugins' ), 228 232 number_format_i18n( count( $data['confirmations'] ) ), 229 233 number_format_i18n( $plugin->release_confirmation ) … … 263 267 esc_attr( gmdate( 'Y-m-d H:i:s', $data['discarded']['time'] ) ), 264 268 sprintf( 265 __( 'Discarded by %1$s, %2$s ago.', 'wporg-plugins' ), 266 $user->display_name ?: $user->user_login, 269 /* translators: 1: User name, 2: Time since the release was discarded. */ 270 esc_html__( 'Discarded by %1$s, %2$s ago.', 'wporg-plugins' ), 271 esc_html( $user->display_name ?: $user->user_login ), 267 272 human_time_diff( $data['discarded']['time'] ) 268 273 ) … … 274 279 printf( 275 280 '<span>%s</span><br>', 276 __( 'The ZIP files for this release have not yet been built by WordPress.org.', 'wporg-plugins' )281 esc_html__( 'The ZIP files for this release have not yet been built by WordPress.org.', 'wporg-plugins' ) 277 282 ); 278 283 } … … 440 445 ob_start(); 441 446 echo '<div class="release-strategy">'; 442 echo '<h3>' . __( 'Rollout Strategy', 'wporg-plugins' ) . '</h3>';447 echo '<h3>' . esc_html__( 'Rollout Strategy', 'wporg-plugins' ) . '</h3>'; 443 448 444 449 echo '<select … … 592 597 '<div class="plugin-notice notice notice-info notice-alt"><p>%s</p></div>', 593 598 sprintf( 594 __( 'This plugin has <a href="%s">a pending release that requires confirmation</a>.', 'wporg-plugins' ), 599 /* translators: %s: Releases page URL. */ 600 wp_kses_post( __( 'This plugin has <a href="%s">a pending release that requires confirmation</a>.', 'wporg-plugins' ) ), 595 601 esc_url( home_url( '/developers/releases/' ) ) // TODO: Hardcoded URL. 596 602 ) -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-reviews.php
r12250 r15179 55 55 <span class="review-date"><?php echo date_i18n( get_option( 'date_format' ), strtotime( $review->post_modified ) ); ?></span> 56 56 <?php if ( $reply_count ) : ?> 57 <span class="review-replies"><?php printf( _n( '%s reply', '%s replies', $reply_count, 'wporg-plugins' ), number_format_i18n( $reply_count) ); ?></span>57 <span class="review-replies"><?php /* translators: %s: Number of replies. */ printf( esc_html( _n( '%s reply', '%s replies', $reply_count, 'wporg-plugins' ) ), esc_html( number_format_i18n( $reply_count ) ) ); ?></span> 58 58 <?php endif; ?> 59 59 </div> … … 76 76 <?php 77 77 /* translators: %s: number of reviews */ 78 printf( _n( 'Read all %s review', 'Read all %s reviews', $review_count, 'wporg-plugins' ), number_format_i18n( $review_count) );78 printf( esc_html( _n( 'Read all %s review', 'Read all %s reviews', $review_count, 'wporg-plugins' ) ), esc_html( number_format_i18n( $review_count ) ) ); 79 79 ?> 80 80 </a> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload.php
r14979 r15179 179 179 // If the queue is currently beyond 10 days, display a warning to that effect. 180 180 if ( $queue_length_in_days >= 10 ) { 181 echo ' ' . __( 'The review queue is currently longer than normal, we apologize for the delays and ask for patience.', 'wporg-plugins' );181 echo ' ' . esc_html__( 'The review queue is currently longer than normal, we apologize for the delays and ask for patience.', 'wporg-plugins' ); 182 182 } 183 183 } … … 230 230 231 231 <p> 232 <?php _e( 'Please review the Plugin Check results for your plugin, and fix any significant problems. This will help streamline the preview process and reduce delays by ensuring your plugin already meets the required standards when the Plugins Team examines it.', 'wporg-plugins' ); ?>232 <?php esc_html_e( 'Please review the Plugin Check results for your plugin, and fix any significant problems. This will help streamline the preview process and reduce delays by ensuring your plugin already meets the required standards when the Plugins Team examines it.', 'wporg-plugins' ); ?> 233 233 </p> 234 234 … … 245 245 '<div class="plugin-submission-submited-date">%s</div>', 246 246 sprintf( 247 __( 'Submitted on: %s', 'wporg-plugins' ), 247 /* translators: %s: Submission date. */ 248 esc_html__( 'Submitted on: %s', 'wporg-plugins' ), 248 249 esc_html( wp_date( get_option( 'date_format' ), strtotime( $plugin->post_date_gmt ) ) ) 249 250 ) … … 252 253 '<div class="plugin-submission-status">%s</div>', 253 254 sprintf( 254 __( 'Review status: %s', 'wporg-plugins' ), 255 /* translators: %s: Review status. */ 256 esc_html__( 'Review status: %s', 'wporg-plugins' ), 255 257 $plugin->status 256 258 ) … … 265 267 '<div class="plugin-submission-email">✉️✔️ %s</div>', 266 268 sprintf( 267 __( 'Our team emailed you on <strong>%s</strong> regarding your submission. The subject line is: "<strong>%s</strong>".', 'wporg-plugins' ), 269 /* translators: 1: Email date, 2: Email subject. */ 270 wp_kses_post( __( 'Our team emailed you on <strong>%1$s</strong> regarding your submission. The subject line is: "<strong>%2$s</strong>".', 'wporg-plugins' ) ), 268 271 esc_html( wp_date( get_option( 'date_format' ), strtotime( $plugin->review_email->created ) ) ), 269 272 esc_html( $plugin->review_email->subject ) … … 278 281 '<div class="plugin-submission-email">✉️⏳ %s</div>', 279 282 sprintf( 280 __( 'Please be patient and wait for the review email. It will be sent to your email address, <strong>%s</strong>, with the subject line: "<strong>%s</strong>".', 'wporg-plugins' ), 283 /* translators: 1: Email address, 2: Email subject. */ 284 wp_kses_post( __( 'Please be patient and wait for the review email. It will be sent to your email address, <strong>%1$s</strong>, with the subject line: "<strong>%2$s</strong>".', 'wporg-plugins' ) ), 281 285 esc_html( get_userdata( $plugin->post_author )->user_email ), 282 '[WordPress Plugin Directory] Review in Progress: ' . $plugin->post_title286 '[WordPress Plugin Directory] Review in Progress: ' . esc_html( $plugin->post_title ) 283 287 ) 284 288 ); … … 289 293 echo '<div class="plugin-submission-assigned-slug">'; 290 294 printf( 291 __( 'Current assigned slug: %s', 'wporg-plugins' ), 295 /* translators: %s: Plugin slug. */ 296 esc_html__( 'Current assigned slug: %s', 'wporg-plugins' ), 292 297 '<code>' . esc_html( $plugin->post_name ) . '</code>' 293 298 ); 294 299 ?> 295 300 <?php if ( $can_change_slug ) : ?> 296 <a href="#" class="hide-if-no-js" onclick="event.preventDefault(); this.nextElementSibling.showModal()"><?php _e( 'change', 'wporg-plugins' ); ?></a>301 <a href="#" class="hide-if-no-js" onclick="event.preventDefault(); this.nextElementSibling.showModal()"><?php esc_html_e( 'change', 'wporg-plugins' ); ?></a> 297 302 <dialog class="slug-change hide-if-no-js"> 298 303 <a onclick="this.parentNode.close()" class="close dashicons dashicons-no-alt"></a> 299 <strong><?php _e( 'Request to change your plugin slug', 'wporg-plugins' ); ?></strong>304 <strong><?php esc_html_e( 'Request to change your plugin slug', 'wporg-plugins' ); ?></strong> 300 305 <form> 301 306 <input type="hidden" name="action" value="request-slug-change" /> … … 303 308 304 309 <div class="notice notice-info notice-alt"> 305 <p><?php _e( 'Your chosen slug cannot be guaranteed, and is subject to change based on the results of your review.', 'wporg-plugins' ); ?></p>310 <p><?php esc_html_e( 'Your chosen slug cannot be guaranteed, and is subject to change based on the results of your review.', 'wporg-plugins' ); ?></p> 306 311 <p><?php 307 312 printf( 308 313 /* Translators: URL */ 309 __( "Your slug is used to generate your plugins URL. Currently it's %s", 'wporg-plugins' ),314 esc_html__( 'Your slug is used to generate your plugins URL. Currently it’s %s', 'wporg-plugins' ), 310 315 '<code>' . esc_url( home_url( $plugin->post_name ) . '/' ) . '</code>' 311 316 ); 312 317 ?></p> 313 <p><?php _e( 'Your slug (aka permalink) cannot be changed once your review is completed. Please choose carefully.', 'wporg-plugins' ); ?></p>318 <p><?php esc_html_e( 'Your slug (aka permalink) cannot be changed once your review is completed. Please choose carefully.', 'wporg-plugins' ); ?></p> 314 319 </div> 315 320 <div class="notice notice-error notice-alt hidden"><p></p></div> 316 321 <p> 317 322 <label> 318 <strong><?php _e( 'Plugin Name', 'wporg-plugins' ); ?></strong><br>323 <strong><?php esc_html_e( 'Plugin Name', 'wporg-plugins' ); ?></strong><br> 319 324 <?php echo esc_html( $plugin->post_title ); ?> 320 325 </label> … … 322 327 <p> 323 328 <label> 324 <strong><?php _e( 'Desired Slug', 'wporg-plugins' ); ?></strong><br>329 <strong><?php esc_html_e( 'Desired Slug', 'wporg-plugins' ); ?></strong><br> 325 330 <input type="text" name="post_name" required maxlength="200" pattern="[a-z0-9-]*" value="<?php echo esc_attr( $plugin->post_name ); ?>" /> 326 331 </label> … … 333 338 printf( 334 339 /* Translators: URL to plugin guidelines */ 335 __( 'I confirm that my slug choice <a href="%s">meets the guidelines for plugin slugs</a>.', 'wporg-plugins'),340 wp_kses_post( __( 'I confirm that my slug choice <a href="%s">meets the guidelines for plugin slugs</a>.', 'wporg-plugins' ) ), 336 341 'https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/#17-plugins-must-respect-trademarks-copyrights-and-project-names' 337 342 ); … … 361 366 if ( $can_upload_extras ) { 362 367 echo '<div class="plugin-submission-update-code wp-block-button is-small">'; 363 echo '<a href="#" class="show-upload-additional hide-if-no-js wp-block-button__link">' . sprintf( __( 'Upload updated "%s" plugin for review.', 'wporg-plugins' ), esc_html( $plugin->post_title ) ) . '</a>'; 368 /* translators: %s: Plugin name. */ 369 echo '<a href="#" class="show-upload-additional hide-if-no-js wp-block-button__link">' . sprintf( esc_html__( 'Upload updated "%s" plugin for review.', 'wporg-plugins' ), esc_html( $plugin->post_title ) ) . '</a>'; 364 370 365 371 ?> … … 370 376 371 377 <label> 372 <?php_e( 'Additional Information', 'wporg-plugins' ); ?><br>378 <?php esc_html_e( 'Additional Information', 'wporg-plugins' ); ?><br> 373 379 <textarea name="comment" rows="3" cols="80"></textarea> 374 380 </label> … … 377 383 <label class="wp-block-button__link zip-file"> 378 384 <input type="file" class="plugin-file" name="zip_file" size="25" accept=".zip" required data-maxbytes="<?php echo esc_attr( wp_max_upload_size() ); ?>" /> 379 <span><?php _e( 'Select File', 'wporg-plugins' ); ?></span>385 <span><?php esc_html_e( 'Select File', 'wporg-plugins' ); ?></span> 380 386 </label> 381 387 … … 387 393 388 394 echo '<div class="plugin-submission-submitted-files">'; 389 echo '<strong>' . __( 'Submitted files:', 'wporg-plugins' ) . '</strong>';395 echo '<strong>' . esc_html__( 'Submitted files:', 'wporg-plugins' ) . '</strong>'; 390 396 foreach ( $attached_media as $attachment_post_id => $upload ) { 391 397 echo '<div class="plugin-submission-file">'; … … 420 426 esc_url( Template::preview_link_zip( $plugin->post_name, $upload->ID, 'pcp' ) ), 421 427 'wp-block-button__link', 422 __( 'Check with Plugin Check', 'wporg-plugins' )428 esc_html__( 'Check with Plugin Check', 'wporg-plugins' ) 423 429 ); 424 430 } … … 441 447 '<div class="notice notice-error notice-alt"><p>%s</p></div>', 442 448 sprintf( 443 __( 'New plugin submissions are currently disabled. Please check back after the <a href="%s">holiday break.</a>', 'wporg-plugins' ), 449 /* translators: %s: Holiday break announcement URL. */ 450 wp_kses_post( __( 'New plugin submissions are currently disabled. Please check back after the <a href="%s">holiday break.</a>', 'wporg-plugins' ) ), 444 451 'https://wordpress.org/news/2024/12/holiday-break/' 445 452 ) … … 449 456 sprintf( 450 457 /* translators: %s: Profile edit url. */ 451 __( 'Your email host has email deliverability problems. Please <a href="%s">Update your email address</a> first.', 'wporg-plugins'),458 wp_kses_post( __( 'Your email host has email deliverability problems. Please <a href="%s">Update your email address</a> first.', 'wporg-plugins' ) ), 452 459 esc_url( 'https://wordpress.org/support/users/' . wp_get_current_user()->user_nicename . '/edit' ) 453 460 ) . … … 615 622 <label class="wp-block-button__link zip-file"> 616 623 <input type="file" class="plugin-file" name="zip_file" size="25" accept=".zip" required data-maxbytes="<?php echo esc_attr( wp_max_upload_size() ); ?>" /> 617 <span><?php _e( 'Select File', 'wporg-plugins' ); ?></span>624 <span><?php esc_html_e( 'Select File', 'wporg-plugins' ); ?></span> 618 625 </label> 619 626 … … 632 639 <p> 633 640 <label> 634 <?php _e( 'Additional Information', 'wporg-plugins' ); ?><br>641 <?php esc_html_e( 'Additional Information', 'wporg-plugins' ); ?><br> 635 642 <textarea name="comment" rows="3" cols="80"><?php 636 643 if ( ! empty( $_REQUEST['comment'] ) ) { -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-adopt-me.php
r8641 r15179 37 37 <div> 38 38 <p> 39 <?php _e( 'This plugin is seeking new, active, developers. Are you interested in assuming that responsibility?', 'wporg-plugins' ); ?></p>39 <?php esc_html_e( 'This plugin is seeking new, active, developers. Are you interested in assuming that responsibility?', 'wporg-plugins' ); ?></p> 40 40 <p> 41 <a class="button" href="https://developer.wordpress.org/plugins/wordpress-org/take-over-an-existing-plugin/"><?php _e( 'Read more', 'wporg-plugins' ); ?></a>41 <a class="button" href="https://developer.wordpress.org/plugins/wordpress-org/take-over-an-existing-plugin/"><?php esc_html_e( 'Read more', 'wporg-plugins' ); ?></a> 42 42 </p> 43 43 </div> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-committers.php
r14915 r15179 62 62 <small> 63 63 <?php echo current_user_can( 'plugin_review' ) ? esc_html( $committer->user_email ) . ' ' : ''; ?> 64 <button class="button-link remove"><?php _e( 'Remove', 'wporg-plugins' ); ?></button>64 <button class="button-link remove"><?php esc_html_e( 'Remove', 'wporg-plugins' ); ?></button> 65 65 </small> 66 66 <?php endif; ?> … … 85 85 <span class="email">{{ data.email }}</span> 86 86 <# } #> 87 <button class="button-link remove"><?php _e( 'Remove', 'wporg-plugins' ); ?></button>87 <button class="button-link remove"><?php esc_html_e( 'Remove', 'wporg-plugins' ); ?></button> 88 88 </small> 89 89 </li> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-donate.php
r13617 r15179 35 35 ?> 36 36 37 <p class="aside"><?php _e( 'Would you like to support the advancement of this plugin?', 'wporg-plugins' ); ?></p>37 <p class="aside"><?php esc_html_e( 'Would you like to support the advancement of this plugin?', 'wporg-plugins' ); ?></p> 38 38 <p> 39 39 <a href="<?php echo esc_url( $donate_link ); ?>" rel="nofollow ugc"> 40 <?php _e( 'Donate to this plugin', 'wporg-plugins' ); ?>40 <?php esc_html_e( 'Donate to this plugin', 'wporg-plugins' ); ?> 41 41 </a> 42 42 </p> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-meta.php
r15170 r15179 42 42 printf( 43 43 /* translators: %s: term list */ 44 __( 'Designed to work with: %s', 'wporg-plugins' ),44 esc_html__( 'Designed to work with: %s', 'wporg-plugins' ), 45 45 esc_html( $built_for ) 46 46 ); … … 53 53 printf( 54 54 /* translators: %s: version number */ 55 __( 'Version %s', 'wporg-plugins' ),55 esc_html__( 'Version %s', 'wporg-plugins' ), 56 56 '<strong>' . esc_html( get_post_meta( $post->ID, 'version', true ) ) . '</strong>' 57 57 ); … … 72 72 printf( 73 73 /* translators: %s: time since the last update */ 74 __( 'Last updated %s', 'wporg-plugins' ),74 esc_html__( 'Last updated %s', 'wporg-plugins' ), 75 75 /* translators: %s: time since the last update */ 76 76 '<strong>' . wp_kses( sprintf( __( '%s ago', 'wporg-plugins' ), '<span>' . human_time_diff( $last_updated ) . '</span>' ), array( 'span' => true ) ) . '</strong>' … … 82 82 printf( 83 83 /* translators: %s: active installations count */ 84 __( 'Active installations %s', 'wporg-plugins' ),84 esc_html__( 'Active installations %s', 'wporg-plugins' ), 85 85 '<strong>' . esc_html( Template::active_installs( false ) ) . '</strong>' 86 86 ); … … 108 108 printf( 109 109 /* translators: %s: version number */ 110 __( 'Tested up to %s', 'wporg-plugins' ),110 esc_html__( 'Tested up to %s', 'wporg-plugins' ), 111 111 '<strong>' . esc_html( $tested_up_to ) . '</strong>' 112 112 ); … … 151 151 printf( 152 152 /* translators: %s: Number of available languages */ 153 _nx( 'See all %s', 'See all %s', $available_languages_count, 'languages', 'wporg-plugins'),153 esc_html( _nx( 'See all %s', 'See all %s', $available_languages_count, 'languages', 'wporg-plugins' ) ), 154 154 $available_languages_count 155 155 ); … … 160 160 161 161 <button type="button" class="button-link popover-close" aria-label="<?php esc_attr_e( 'Close this popover', 'wporg-plugins' ); ?>"> 162 <?php _e( 'Close', 'wporg-plugins' ); ?>162 <?php esc_html_e( 'Close', 'wporg-plugins' ); ?> 163 163 </button> 164 164 … … 170 170 '<a href="%s">%s</a>', 171 171 esc_url( 'https://translate.wordpress.org/projects/wp-plugins/' . $post->post_name ), 172 __( 'Translate into your language', 'wporg-plugins' )172 esc_html__( 'Translate into your language', 'wporg-plugins' ) 173 173 ); 174 174 ?> … … 211 211 printf( 212 212 /* translators: %s: tag list */ 213 _n( 'Tag %s', 'Tags %s', count( $term_links ), 'wporg-plugins'),213 esc_html( _n( 'Tag %s', 'Tags %s', count( $term_links ), 'wporg-plugins' ) ), 214 214 '<div class="tags">' . wp_kses_post( implode( $term_links ) ) . '</div>' 215 215 ); … … 224 224 '<a class="plugin-admin" href="%s">%s</a>', 225 225 esc_url( get_permalink() . 'advanced/' ), 226 __( 'Advanced View', 'wporg-plugins' )226 esc_html__( 'Advanced View', 'wporg-plugins' ) 227 227 ); 228 228 ?> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-support-reps.php
r14915 r15179 66 66 <small> 67 67 <?php echo current_user_can( 'plugin_review' ) ? esc_html( $support_rep->user_email ) . ' ' : ''; ?> 68 <button class="button-link remove"><?php _e( 'Remove', 'wporg-plugins' ); ?></button>68 <button class="button-link remove"><?php esc_html_e( 'Remove', 'wporg-plugins' ); ?></button> 69 69 </small> 70 70 <?php endif; ?> … … 89 89 <span class="email">{{ data.email }}</span> 90 90 <# } #> 91 <button class="button-link remove"><?php _e( 'Remove', 'wporg-plugins' ); ?></button>91 <button class="button-link remove"><?php esc_html_e( 'Remove', 'wporg-plugins' ); ?></button> 92 92 </small> 93 93 </li> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-support.php
r13617 r15179 45 45 if ( $resolutions ) : 46 46 ?> 47 <p class="aside"><?php _e( 'Issues resolved in last two months:', 'wporg-plugins' ); ?></p>47 <p class="aside"><?php esc_html_e( 'Issues resolved in last two months:', 'wporg-plugins' ); ?></p> 48 48 <p class="counter-container"> 49 49 <span class="counter-back"> … … 53 53 <?php 54 54 /* Translators: 1: Amount of resolved threads; 2: Amount of total threads; */ 55 printf( __( '%1$s out of %2$s', 'wporg-plugins' ), $resolved,$threads );55 printf( esc_html__( '%1$s out of %2$s', 'wporg-plugins' ), (int) $resolved, (int) $threads ); 56 56 ?> 57 57 </span> … … 59 59 60 60 <?php else : ?> 61 <p><?php _e( 'Got something to say? Need help?', 'wporg-plugins' ); ?></p>61 <p><?php esc_html_e( 'Got something to say? Need help?', 'wporg-plugins' ); ?></p> 62 62 <?php endif; ?> 63 63 64 64 <p> 65 <a href="<?php echo esc_url( $support_url ); ?>"><?php _e( 'View support forum', 'wporg-plugins' ); ?></a>65 <a href="<?php echo esc_url( $support_url ); ?>"><?php esc_html_e( 'View support forum', 'wporg-plugins' ); ?></a> 66 66 </p> 67 67 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/rosetta/inc/admin/network/class-locale-associations-view.php
r9838 r15179 38 38 <div class="wrap"> 39 39 <h1><?php echo esc_html( $this->get_title() ); ?></h1> 40 <p><?php _e( 'Manage the locale association for localized sites. Without an association the site’s front end is not available.', 'rosetta' ); ?></p>41 <p><a href="#add-new-associations"><?php _e( 'Add New Association', 'rosetta' ); ?></a> | <a href="#existing-associations"><?php _e( 'Existing Associations', 'rosetta' ); ?></a> | <a href="#sites-without-locale-association"><?php_e( 'Sites Without Locale Association', 'rosetta' ); ?></a></p>40 <p><?php esc_html_e( 'Manage the locale association for localized sites. Without an association the site’s front end is not available.', 'rosetta' ); ?></p> 41 <p><a href="#add-new-associations"><?php esc_html_e( 'Add New Association', 'rosetta' ); ?></a> | <a href="#existing-associations"><?php esc_html_e( 'Existing Associations', 'rosetta' ); ?></a> | <a href="#sites-without-locale-association"><?php esc_html_e( 'Sites Without Locale Association', 'rosetta' ); ?></a></p> 42 42 <hr/> 43 43 <?php … … 71 71 printf( 72 72 '<div class="notice notice-error"><p>%s</p></div>', 73 __( 'An error occurred. Please try again.', 'rosetta' )73 esc_html__( 'An error occurred. Please try again.', 'rosetta' ) 74 74 ); 75 75 break; … … 77 77 printf( 78 78 '<div class="notice notice-error"><p>%s</p></div>', 79 __( 'Please provide a locale and a subdomain.', 'rosetta' )79 esc_html__( 'Please provide a locale and a subdomain.', 'rosetta' ) 80 80 ); 81 81 break; … … 83 83 printf( 84 84 '<div class="notice notice-error"><p>%s</p></div>', 85 __( 'The locale does not exist yet.', 'rosetta' )85 esc_html__( 'The locale does not exist yet.', 'rosetta' ) 86 86 ); 87 87 break; … … 89 89 printf( 90 90 '<div class="notice notice-success"><p>%s</p></div>', 91 __( 'The new association has been added.', 'rosetta' )91 esc_html__( 'The new association has been added.', 'rosetta' ) 92 92 ); 93 93 break; … … 95 95 printf( 96 96 '<div class="notice notice-error"><p>%s</p></div>', 97 __( 'The ID of the association is missing. Please try again.', 'rosetta' )97 esc_html__( 'The ID of the association is missing. Please try again.', 'rosetta' ) 98 98 ); 99 99 break; … … 101 101 printf( 102 102 '<div class="notice notice-success"><p>%s</p></div>', 103 __( 'The association has been deleted.', 'rosetta' )103 esc_html__( 'The association has been deleted.', 'rosetta' ) 104 104 ); 105 105 break; … … 112 112 private function render_form() { 113 113 ?> 114 <h2 id="add-new-associations"><?php _e( 'Add New Association', 'rosetta' ); ?> <a href="#wpbody-content"><small>↑</small></a></h2>114 <h2 id="add-new-associations"><?php esc_html_e( 'Add New Association', 'rosetta' ); ?> <a href="#wpbody-content"><small>↑</small></a></h2> 115 115 <form action="" method="post"> 116 116 <?php wp_nonce_field( 'add-association' ); ?> … … 118 118 119 119 <p> 120 <label for="locale"><?php _e( 'Locale:', 'rosetta' ); ?></label>120 <label for="locale"><?php esc_html_e( 'Locale:', 'rosetta' ); ?></label> 121 121 <select id="locale" name="locale" required> 122 <option value=""><?php _e( '— Select —', 'rosetta' ); ?></option>122 <option value=""><?php esc_html_e( '— Select —', 'rosetta' ); ?></option> 123 123 <?php 124 124 foreach ( $this->page->get_available_wp_locales() as $locale ) { … … 132 132 </select> 133 133 134 <label for="subdomain"><?php _e( 'Subdomain:', 'rosetta' ); ?></label>134 <label for="subdomain"><?php esc_html_e( 'Subdomain:', 'rosetta' ); ?></label> 135 135 <input type="text" id="subdomain" name="subdomain" class="code" required /> 136 136 </p> … … 148 148 private function render_table() { 149 149 ?> 150 <h2 id="existing-associations"><?php _e( 'Existing Associations', 'rosetta' ); ?> <a href="#wpbody-content"><small>↑</small></a></h2>150 <h2 id="existing-associations"><?php esc_html_e( 'Existing Associations', 'rosetta' ); ?> <a href="#wpbody-content"><small>↑</small></a></h2> 151 151 <table class="widefat striped"> 152 152 <thead> 153 153 <tr> 154 <th><?php _e( 'Locale', 'rosetta' ); ?></th>155 <th><?php _e( 'Subdomain', 'rosetta' ); ?></th>156 <th><?php _e( 'Sites', 'rosetta' ); ?></th>157 <th><?php _e( 'Latest Release', 'rosetta' ); ?></th>154 <th><?php esc_html_e( 'Locale', 'rosetta' ); ?></th> 155 <th><?php esc_html_e( 'Subdomain', 'rosetta' ); ?></th> 156 <th><?php esc_html_e( 'Sites', 'rosetta' ); ?></th> 157 <th><?php esc_html_e( 'Latest Release', 'rosetta' ); ?></th> 158 158 <th>—</th> 159 159 </tr> … … 208 208 public function render_sites_without_locale() { 209 209 ?> 210 <h2 id="sites-without-locale-association"><?php _e( 'Sites Without Locale Association', 'rosetta' ); ?> <a href="#wpbody-content"><small>↑</small></a></h2>210 <h2 id="sites-without-locale-association"><?php esc_html_e( 'Sites Without Locale Association', 'rosetta' ); ?> <a href="#wpbody-content"><small>↑</small></a></h2> 211 211 <?php 212 212 $domains_with_locale = wp_list_pluck( $this->page->get_associations(), 'subdomain' ); -
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-blocks.php
r15177 r15179 276 276 checked( get_user_option( 'block_editor', $user_id ), 'disabled', false ), 277 277 sprintf( 278 __( 'Disable the <a href="%s">Block Editor</a> for new topics and replies.', 'wporg-forums' ), 278 /* translators: %s: Block editor documentation URL. */ 279 wp_kses_post( __( 'Disable the <a href="%s">Block Editor</a> for new topics and replies.', 'wporg-forums' ) ), 279 280 'https://wordpress.org/support/article/wordpress-editor/' 280 281 ) -
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-hooks.php
r15170 r15179 1029 1029 if ( is_user_logged_in() ) { 1030 1030 printf( '<p class="wporg-bbp-topic-site-url">%1$s <a href="%2$s" rel="nofollow ugc">%2$s</a></p>', 1031 __( 'The page I need help with:', 'wporg-forums' ),1031 esc_html__( 'The page I need help with:', 'wporg-forums' ), 1032 1032 esc_url( $site_url ) 1033 1033 ); 1034 1034 } else { 1035 1035 printf( '<p class="wporg-bbp-topic-site-url">%1$s <em>%2$s</em></p>', 1036 __( 'The page I need help with:', 'wporg-forums' ),1036 esc_html__( 'The page I need help with:', 'wporg-forums' ), 1037 1037 /* translators: %s: URL of the log in page. */ 1038 1038 sprintf( wp_kses_post( __( '[<a href="%s">log in</a> to see the link]', 'wporg-forums' ) ), esc_url( wp_login_url() ) ) … … 1057 1057 ?> 1058 1058 <p> 1059 <label for="site_url"><?php _e( 'Link to the page you need help with:', 'wporg-forums' )?></label><br />1059 <label for="site_url"><?php esc_html_e( 'Link to the page you need help with:', 'wporg-forums' ); ?></label><br /> 1060 1060 <input type="text" id="site_url" value="<?php echo esc_attr( $site_url ); ?>" size="40" name="site_url" maxlength="400" aria-describedby="site_url_description" /><br /> 1061 <em id="site_url_description"><?php _e( 'This link will only be shown to logged-in users.', 'wporg-forums' ); ?></em>1061 <em id="site_url_description"><?php esc_html_e( 'This link will only be shown to logged-in users.', 'wporg-forums' ); ?></em> 1062 1062 </p> 1063 1063 <?php -
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-moderators.php
r15112 r15179 1226 1226 1227 1227 printf( 1228 '<em>' . __( 'Posted by <a href="%s">@%s</a>.', 'wporg-forums' ) . '</em><br/>', 1228 /* translators: 1: Profile URL, 2: Username. */ 1229 '<em>' . wp_kses_post( __( 'Posted by <a href="%1$s">@%2$s</a>.', 'wporg-forums' ) ) . '</em><br/>', 1229 1230 esc_url( bbp_get_user_profile_url( $user->ID ) ), 1230 1231 esc_html( $user->user_nicename ) -
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-nsfw-handler.php
r9817 r15179 30 30 public function add_term_meta() { 31 31 // Output a helping text indicating what to use the description field for. 32 echo '<p>' . __( 'Please provide a reason for adding this term in the description field', 'wporg-forums' ) . '</p>';32 echo '<p>' . esc_html__( 'Please provide a reason for adding this term in the description field', 'wporg-forums' ) . '</p>'; 33 33 } 34 34 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-ratings-compat.php
r15170 r15179 224 224 <div class="review-ratings"> 225 225 <div> 226 <div style="font-weight:bold;"><?php _e( 'Average Rating', 'wporg-forums' ); ?></div>226 <div style="font-weight:bold;"><?php esc_html_e( 'Average Rating', 'wporg-forums' ); ?></div> 227 227 <?php echo do_blocks( '<!-- wp:wporg/ratings-stars /-->' ); ?> 228 228 <div class="reviews-submit-link"> … … 231 231 echo '<a href="#new-post" class="btn">'; 232 232 if ( $this->review_exists() ) { 233 _e( 'Edit your review', 'wporg-forums' );233 esc_html_e( 'Edit your review', 'wporg-forums' ); 234 234 } else { 235 _e( 'Add your own review', 'wporg-forums' );235 esc_html_e( 'Add your own review', 'wporg-forums' ); 236 236 } 237 237 echo '</a>'; … … 240 240 printf( 241 241 /* translators: %s: login URL */ 242 __( 'You must be <a href="%s" rel="nofollow">logged in</a> to submit a review.', 'wporg-forums'),242 wp_kses_post( __( 'You must be <a href="%s" rel="nofollow">logged in</a> to submit a review.', 'wporg-forums' ) ), 243 243 add_query_arg( 244 244 'redirect_to', … … 257 257 printf( 258 258 /* translators: %s: number of reviews */ 259 _n( '%s review', '%s reviews', $this->reviews_count, 'wporg-forums'),259 esc_html( _n( '%s review', '%s reviews', $this->reviews_count, 'wporg-forums' ) ), 260 260 '<span>' . number_format_i18n( $this->reviews_count ) . '</span>' 261 261 ); … … 271 271 echo '<p class="reviews-filtered-msg" style="margin-top:12px;font-size:0.8rem;">'; 272 272 printf( 273 /* translators: %d: number of stars */ 274 _n( 275 'You are currently viewing the reviews that provided a rating of <strong>%d star</strong>.', 276 'You are currently viewing the reviews that provided a rating of <strong>%d stars</strong>.', 277 $filter, 278 'wporg-forums' 273 wp_kses_post( 274 /* translators: %d: Number of stars. */ 275 _n( 276 'You are currently viewing the reviews that provided a rating of <strong>%d star</strong>.', 277 'You are currently viewing the reviews that provided a rating of <strong>%d stars</strong>.', 278 $filter, 279 'wporg-forums' 280 ) 279 281 ) . ' ', 280 282 $filter … … 282 284 printf( 283 285 /* translators: %s: plugin/theme reviews URL */ 284 __( '<a href="%s">See all reviews</a>.', 'wporg-forums'),286 wp_kses_post( __( '<a href="%s">See all reviews</a>.', 'wporg-forums' ) ), 285 287 esc_url( sprintf( home_url( '/%s/%s/reviews/' ), $this->compat, $this->slug ) ) 286 288 ); … … 431 433 printf( 432 434 /* translators: %s: login URL */ 433 __( 'You must be <a href="%s" rel="nofollow">logged in</a> to submit a review.', 'wporg-forums'),435 wp_kses_post( __( 'You must be <a href="%s" rel="nofollow">logged in</a> to submit a review.', 'wporg-forums' ) ), 434 436 add_query_arg( 435 437 'redirect_to', … … 456 458 public function do_template_notice() { 457 459 if ( $this->object->post_author == get_current_user_id() ) { ?> 458 <p><?php _e( 'A review should be the review of an experience a user has with your project, not for self-promotion.', 'wporg-forums' ); ?></p>460 <p><?php esc_html_e( 'A review should be the review of an experience a user has with your project, not for self-promotion.', 'wporg-forums' ); ?></p> 459 461 460 462 <?php if ( 'plugin' === $this->compat ) : ?> 461 <p><?php _e( 'Since you work on this plugin, please consider <em>not</em> leaving a review on your own work. You were probably going to give it five stars anyway.', 'wporg-forums'); ?></p>463 <p><?php echo wp_kses_post( __( 'Since you work on this plugin, please consider <em>not</em> leaving a review on your own work. You were probably going to give it five stars anyway.', 'wporg-forums' ) ); ?></p> 462 464 <?php elseif ( 'theme' === $this->compat ) : ?> 463 <p><?php _e( 'Since you work on this theme, please consider <em>not</em> leaving a review on your own work. You were probably going to give it five stars anyway.', 'wporg-forums'); ?></p>465 <p><?php echo wp_kses_post( __( 'Since you work on this theme, please consider <em>not</em> leaving a review on your own work. You were probably going to give it five stars anyway.', 'wporg-forums' ) ); ?></p> 464 466 <?php endif; 465 467 … … 481 483 } 482 484 ?> 483 <p><?php _e( 'When posting a review, follow these guidelines:', 'wporg-forums' ); ?></p>485 <p><?php esc_html_e( 'When posting a review, follow these guidelines:', 'wporg-forums' ); ?></p> 484 486 <ul> 485 <li><?php printf( $report, esc_url( sprintf( home_url( '/%s/%s/' ), $this->compat, $this->slug ) ) ); ?></li>487 <li><?php printf( wp_kses_post( $report ), esc_url( sprintf( home_url( '/%s/%s/' ), $this->compat, $this->slug ) ) ); ?></li> 486 488 <li><?php echo esc_html( $rate ); ?></li> 487 489 <li><?php esc_html_e( 'Please provide as much detail as you can to justify your rating and to help others.', 'wporg-forums' ); ?></li> … … 489 491 printf( 490 492 /* translators: %s: Forum user guide URL */ 491 __( 'Please <a href="%s">do not add links to your review</a>, keep the review about your experience in text only.', 'wporg-forums'),493 wp_kses_post( __( 'Please <a href="%s">do not add links to your review</a>, keep the review about your experience in text only.', 'wporg-forums' ) ), 492 494 esc_url( __( 'https://wordpress.org/support/forum-user-guide/faq/#why-are-links-not-allowed-in-reviews', 'wporg-forums' ) ) 493 495 ); … … 518 520 printf( 519 521 '<label for="rating">%s</label>', 520 __( 'Your Rating:', 'wporg-forums' )522 esc_html__( 'Your Rating:', 'wporg-forums' ) 521 523 ); 522 524 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-report-topic.php
r15113 r15179 409 409 sprintf( 410 410 // translators: 1: Title of reported topic as a link. 411 __( 'Reported topic: %s', 'wporg-forums' ),411 esc_html__( 'Reported topic: %s', 'wporg-forums' ), 412 412 sprintf( 413 413 '<a href="%s">%s</a>', … … 422 422 sprintf( 423 423 // translators: 1: Number of posts in the topic. 424 __( 'Replies in this topic: %d', 'wporg-forums' ),424 esc_html__( 'Replies in this topic: %d', 'wporg-forums' ), 425 425 esc_html( bbp_get_topic_reply_count( $topic ) ) 426 426 ) … … 431 431 sprintf( 432 432 // translators: 1: Number of participants in the topic. 433 __( 'Participants in this topic: %d', 'wporg-forums' ),433 esc_html__( 'Participants in this topic: %d', 'wporg-forums' ), 434 434 esc_html( bbp_get_topic_voice_count( $topic ) ) 435 435 ) … … 452 452 sprintf( 453 453 // translators: 1: The display-name of the reporter, as a link to their user profile. 454 __( 'Reporter: %s', 'wporg-forums' ),454 esc_html__( 'Reporter: %s', 'wporg-forums' ), 455 455 sprintf( 456 456 '<a href="%s">%s</a>', … … 465 465 sprintf( 466 466 // translators: 1: The IP address the report was submitted from. 467 __( 'IP Address: %s', 'wporg-forums' ),467 esc_html__( 'IP Address: %s', 'wporg-forums' ), 468 468 esc_html( $reporter_ip ) 469 469 ) … … 678 678 <input type="hidden" name="wporg-support-report-topic" value="<?php echo esc_attr( bbp_get_topic_id() ); ?>"> 679 679 680 <label for="topic-report-reason"><?php _e( 'Report this topic for:', 'wporg-forums' ); ?></label>680 <label for="topic-report-reason"><?php esc_html_e( 'Report this topic for:', 'wporg-forums' ); ?></label> 681 681 <?php 682 682 wp_dropdown_categories( … … 694 694 695 695 <p> 696 <label for="topic-report-reason-details"><?php _e( 'Why are you reporting this topic:', 'wporg-forums' ); ?></label>696 <label for="topic-report-reason-details"><?php esc_html_e( 'Why are you reporting this topic:', 'wporg-forums' ); ?></label> 697 697 <textarea type="text" name="topic-report-reason-details" id="topic-report-reason-details" class="widefat" required="required"></textarea> 698 698 </p> … … 742 742 printf( 743 743 '<li class="topic-previous-reports">%s<ul class="previous-reports">%s</ul></li>', 744 __( 'Previous reports:', 'wporg-support' ),744 esc_html__( 'Previous reports:', 'wporg-support' ), 745 745 implode( ' ', $lines ) 746 746 ); -
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/admin-edit.php
r15170 r15179 249 249 250 250 if ( 'suspend' == $post->post_status ) { 251 wp_die( __( 'This item has already been suspended.', 'wporg-themes' ) );251 wp_die( esc_html__( 'This item has already been suspended.', 'wporg-themes' ) ); 252 252 } 253 253 254 254 if ( ! get_post_type_object( $post->post_type ) ) { 255 wp_die( __( 'Unknown post type.', 'wporg-themes' ) );255 wp_die( esc_html__( 'Unknown post type.', 'wporg-themes' ) ); 256 256 } 257 257 258 258 if ( ! current_user_can( 'suspend_theme', $post_id ) || 'repopackage' != $post->post_type ) { 259 wp_die( __( 'You are not allowed to suspend this item.', 'wporg-themes' ) );259 wp_die( esc_html__( 'You are not allowed to suspend this item.', 'wporg-themes' ) ); 260 260 } 261 261 … … 286 286 287 287 if ( 'suspend' != $post->post_status ) { 288 wp_die( __( 'This item has already been reinstated.', 'wporg-themes' ) );288 wp_die( esc_html__( 'This item has already been reinstated.', 'wporg-themes' ) ); 289 289 } 290 290 291 291 if ( ! get_post_type_object( $post->post_type ) ) { 292 wp_die( __( 'Unknown post type.', 'wporg-themes' ) );292 wp_die( esc_html__( 'Unknown post type.', 'wporg-themes' ) ); 293 293 } 294 294 295 295 if ( ! current_user_can( 'reinstate_theme', $post_id ) || 'repopackage' != $post->post_type ) { 296 wp_die( __( 'You are not allowed to reinstate this item.', 'wporg-themes' ) );296 wp_die( esc_html__( 'You are not allowed to reinstate this item.', 'wporg-themes' ) ); 297 297 } 298 298 … … 349 349 350 350 if ( 'delist' == $post->post_status ) { 351 wp_die( __( 'This item has already been delisted.', 'wporg-themes' ) );351 wp_die( esc_html__( 'This item has already been delisted.', 'wporg-themes' ) ); 352 352 } 353 353 354 354 if ( ! get_post_type_object( $post->post_type ) ) { 355 wp_die( __( 'Unknown post type.', 'wporg-themes' ) );355 wp_die( esc_html__( 'Unknown post type.', 'wporg-themes' ) ); 356 356 } 357 357 358 358 if ( ! current_user_can( 'suspend_theme', $post_id ) || 'repopackage' != $post->post_type ) { 359 wp_die( __( 'You are not allowed to delist this item.', 'wporg-themes' ) );359 wp_die( esc_html__( 'You are not allowed to delist this item.', 'wporg-themes' ) ); 360 360 } 361 361 … … 386 386 387 387 if ( 'delist' != $post->post_status ) { 388 wp_die( __( 'This item has already been relisted.', 'wporg-themes' ) );388 wp_die( esc_html__( 'This item has already been relisted.', 'wporg-themes' ) ); 389 389 } 390 390 391 391 if ( ! get_post_type_object( $post->post_type ) ) { 392 wp_die( __( 'Unknown post type.', 'wporg-themes' ) );392 wp_die( esc_html__( 'Unknown post type.', 'wporg-themes' ) ); 393 393 } 394 394 395 395 if ( ! current_user_can( 'reinstate_theme', $post_id ) || 'repopackage' != $post->post_type ) { 396 wp_die( __( 'You are not allowed to relist this item.', 'wporg-themes' ) );396 wp_die( esc_html__( 'You are not allowed to relist this item.', 'wporg-themes' ) ); 397 397 } 398 398 … … 470 470 function wporg_theme_no_delete_repopackage( $post_id ) { 471 471 if ( 'repopackage' == get_post( $post_id )->post_type ) { 472 wp_die( __( 'Repopackages can not be deleted.', 'wporg-themes' ), '', array( 473 'back_link' => true, 474 ) ); 472 wp_die( 473 esc_html__( 'Repopackages can not be deleted.', 'wporg-themes' ), 474 '', 475 array( 476 'back_link' => true, 477 ) 478 ); 475 479 } 476 480 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php
r15166 r15179 1441 1441 // Display the errors. 1442 1442 $verdict = $result ? array( 'tc-pass', __( 'Pass', 'wporg-themes' ) ) : array( 'tc-fail', __( 'Fail', 'wporg-themes' ) ); 1443 echo '<h2>' . sprintf( __( 'Results of Automated Theme Scanning: %s', 'wporg-themes' ), vsprintf( '<span class="%1$s">%2$s</span>', $verdict ) ) . '</h2>'; 1443 /* translators: %s: Scan verdict. */ 1444 echo '<h2>' . sprintf( esc_html__( 'Results of Automated Theme Scanning: %s', 'wporg-themes' ), vsprintf( '<span class="%1$s">%2$s</span>', array_map( 'esc_html', $verdict ) ) ) . '</h2>'; 1444 1445 echo '<ul class="tc-result">' . display_themechecks() . '</ul>'; 1445 echo '<div class="notice notice-info"><p>' . __( 'Note: While the automated theme scan is based on the Theme Review Guidelines, it is not a complete review. A successful result from the scan does not guarantee that the theme will pass review. All submitted themes are reviewed manually before approval.', 'wporg-themes' ) . '</p></div>';1446 echo '<div class="notice notice-info"><p>' . esc_html__( 'Note: While the automated theme scan is based on the Theme Review Guidelines, it is not a complete review. A successful result from the scan does not guarantee that the theme will pass review. All submitted themes are reviewed manually before approval.', 'wporg-themes' ) . '</p></div>'; 1446 1447 1447 1448 return $result; -
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/theme-directory.php
r15166 r15179 374 374 global $user_ID; 375 375 ?> 376 <label class="screen-reader-text" for="post_author_override"><?php _e('Author'); ?></label>376 <label class="screen-reader-text" for="post_author_override"><?php esc_html_e( 'Author' ); ?></label> 377 377 <?php 378 378 $value = empty($post->ID) ? $user_ID : $post->post_author; -
sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-components.php
r15170 r15179 650 650 651 651 if ( is_singular() ) { 652 echo '<h3>' . sprintf( _n( '%s open ticket', '%s open tickets', $component_count ), $component_count ) . ' in the ' . $component . ' component</h3>'; 652 echo '<h3>' . sprintf( 653 /* translators: 1: Number of tickets. 2: Component name. */ 654 esc_html( _n( '%1$s open ticket in the %2$s component', '%1$s open tickets in the %2$s component', $component_count ) ), 655 (int) $component_count, 656 esc_html( $component ) 657 ) . '</h3>'; 653 658 } 654 659 … … 713 718 if ( $unreplied_tickets ) { 714 719 $count = count( $unreplied_tickets ); 715 echo '<h3>' . sprintf( _n( '%d ticket that has no replies', '%d tickets that have no replies', $count ), $count ) . '</h3>'; 720 /* translators: %d: Number of tickets. */ 721 echo '<h3>' . sprintf( esc_html( _n( '%d ticket that has no replies', '%d tickets that have no replies', $count ) ), (int) $count ) . '</h3>'; 716 722 echo '<a href="' . $this->trac_query( array( 'component' => $component, 'id' => implode( ',', wp_list_pluck( $unreplied_tickets, 'id' ) ) ) ) . '">View list on Trac</a>'; 717 723 $this->render_tickets( $unreplied_tickets ); … … 723 729 $count = count( $next_milestone ); 724 730 $next_milestone_object = (object) $next_milestone[0]; 725 echo '<h3>' . sprintf( _n( '%s ticket slated for ' . $next_milestone_object->milestone, '%s tickets slated for ' . $next_milestone_object->milestone, $count ), $count ) . '</h3>'; 731 echo '<h3>' . sprintf( 732 /* translators: 1: Number of tickets, 2: Milestone name. */ 733 esc_html( _n( '%1$s ticket slated for %2$s', '%1$s tickets slated for %2$s', $count ) ), 734 (int) $count, 735 esc_html( $next_milestone_object->milestone ) 736 ) . '</h3>'; 726 737 echo $this->trac_query_link( 'View list in Trac', array( 'component' => $component, 'milestone' => $next_milestone_object->milestone ) ); 727 738 $this->render_tickets( $next_milestone ); … … 731 742 732 743 $count = array_sum( $tickets_by_type ); 733 echo '<h3>' . sprintf( _n( '%s open ticket', '%s open tickets', $count ), $count ) . '</h3>'; 744 /* translators: %s: Number of tickets. */ 745 echo '<h3>' . sprintf( esc_html( _n( '%s open ticket', '%s open tickets', $count ) ), (int) $count ) . '</h3>'; 734 746 735 747 $types = array( -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/inc/locales.php
r14604 r15179 54 54 '<div class="callout callout-warning"><p>%s</p><p><a href="%s">%s</a></p></div>', 55 55 sprintf( 56 __( 'Locale %s doesn’t exist.', 'wporg' ), 56 /* translators: %s: Locale slug. */ 57 esc_html__( 'Locale %s doesn’t exist.', 'wporg' ), 57 58 '<code>' . esc_html( $_GET['locale'] ) . '</code>' 58 59 ), 59 60 esc_url( get_permalink() ), 60 __( 'Return to All Locales', 'wporg' )61 esc_html__( 'Return to All Locales', 'wporg' ) 61 62 ); 62 63 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/views/all-locales.php
r9295 r15179 2 2 <p class="locale-filters"> 3 3 <?php 4 _e( 'Releases:', 'worg' );4 esc_html_e( 'Releases:', 'worg' ); 5 5 6 6 $release_statuses = array( … … 28 28 <p class="locale-filters"> 29 29 <?php 30 _e( 'Translations:', 'worg' );30 esc_html_e( 'Translations:', 'worg' ); 31 31 32 32 $translation_statuses = array( … … 58 58 <tr> 59 59 <th colspan="2"> 60 <?php _e( 'Locale', 'wporg' ); ?><br>61 <small><?php _e( '(English & Native)', 'wporg' ); ?></small>60 <?php esc_html_e( 'Locale', 'wporg' ); ?><br> 61 <small><?php esc_html_e( '(English & Native)', 'wporg' ); ?></small> 62 62 </th> 63 <th><?php _e( 'WP Locale', 'wporg' ); ?></th>63 <th><?php esc_html_e( 'WP Locale', 'wporg' ); ?></th> 64 64 <th colspan="2"> 65 <?php _e( 'Version', 'wporg' ); ?><br>66 <small><?php _e( '(Release & Language Pack)', 'wporg' ); ?></small>65 <?php esc_html_e( 'Version', 'wporg' ); ?><br> 66 <small><?php esc_html_e( '(Release & Language Pack)', 'wporg' ); ?></small> 67 67 </th> 68 68 <th colspan="2"> 69 <?php _e( 'GlotPress', 'wporg' ); ?><br>70 <small><?php _e( '(Translated & Slug)', 'wporg' ); ?></small>69 <?php esc_html_e( 'GlotPress', 'wporg' ); ?><br> 70 <small><?php esc_html_e( '(Translated & Slug)', 'wporg' ); ?></small> 71 71 </th> 72 72 <th><!-- intentionally blank --></th> … … 102 102 echo esc_html( $locale_data[ $locale->wp_locale ]['latest_release'] ); 103 103 } else { 104 _e( 'None', 'wporg' );104 esc_html_e( 'None', 'wporg' ); 105 105 } 106 106 } else { 107 _e( 'No site', 'wporg' );107 esc_html_e( 'No site', 'wporg' ); 108 108 } 109 109 ?> … … 114 114 echo max( $language_packs_data[ $locale->wp_locale ] ); 115 115 } else { 116 _e( 'No LP', 'wporg' );116 esc_html_e( 'No LP', 'wporg' ); 117 117 } 118 118 ?> … … 145 145 <td class="center"> 146 146 <a href="<?php echo esc_url( add_query_arg( 'locale', $locale->wp_locale ) ); ?>"> 147 <?php _e( 'View Team Page', 'wporg' ); ?>147 <?php esc_html_e( 'View Team Page', 'wporg' ); ?> 148 148 </a> 149 149 </td> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/views/locale-details.php
r15045 r15179 1 <p><a href="<?php echo esc_url( get_permalink() ); ?>"><?php _e( '← All locales', 'wporg' ); ?></a></p> 1 <?php 2 /** 3 * View showing the translation team of a single locale. 4 * 5 * @package WordPressdotorg\I18nTeams 6 */ 7 8 ?> 9 <p><a href="<?php echo esc_url( get_permalink() ); ?>"><?php esc_html_e( '← All locales', 'wporg' ); ?></a></p> 2 10 <div id="locale-header"> 3 11 <h1> … … 11 19 <ul id="locale-details"> 12 20 <li> 13 <strong><?php _e( 'Sites:', 'wporg' ); ?></strong>21 <strong><?php esc_html_e( 'Sites:', 'wporg' ); ?></strong> 14 22 <?php 15 23 if ( $locale_data['sites'] ) : … … 27 35 </li> 28 36 <li> 29 <strong><?php _e( 'Latest release:', 'wporg' ); ?></strong>37 <strong><?php esc_html_e( 'Latest release:', 'wporg' ); ?></strong> 30 38 <?php echo $locale_data['latest_release'] ? $locale_data['latest_release'] : '—'; ?> 31 39 </li> 32 40 <li> 33 <strong><?php _e( 'WordPress Locale:', 'wporg' ); ?></strong>41 <strong><?php esc_html_e( 'WordPress Locale:', 'wporg' ); ?></strong> 34 42 <?php echo esc_html( $locale->wp_locale ); ?> 35 43 </li> 36 44 <li> 37 <strong><?php _e( 'GlotPress Locale Code:', 'wporg' ); ?></strong>45 <strong><?php esc_html_e( 'GlotPress Locale Code:', 'wporg' ); ?></strong> 38 46 <?php echo esc_html( $locale->slug ); ?> 39 47 </li> 40 48 <li> 41 <strong><?php _e( 'Translation Projects:', 'wporg' ); ?></strong>49 <strong><?php esc_html_e( 'Translation Projects:', 'wporg' ); ?></strong> 42 50 <a href="https://translate.wordpress.org/locale/<?php echo $locale->slug; ?>">translate.wordpress.org/locale/<?php echo $locale->slug; ?></a> 43 51 </li> … … 50 58 <?php 51 59 // translators: %s is the english variant of the locale name. 52 printf( __( 'Download WordPress in %s', 'wporg' ), $locale->english_name);60 printf( esc_html__( 'Download WordPress in %s', 'wporg' ), esc_html( $locale->english_name ) ); 53 61 ?> 54 62 </a> … … 59 67 <?php 60 68 // translators: %s is the latest version. 61 printf( __( 'Download language pack (%s)', 'wporg' ), $locale_data['language_pack_version']);69 printf( esc_html__( 'Download language pack (%s)', 'wporg' ), esc_html( $locale_data['language_pack_version'] ) ); 62 70 ?> 63 71 </a> … … 69 77 70 78 <?php if ( ! empty( $locale_data['locale_managers'] ) ) : ?> 71 <h2><?php printf( __( 'Locale Managers (%s)', 'wporg' ), number_format_i18n( count( $locale_data['locale_managers'] ) ) ); ?></h2> 79 <?php /* translators: %s: Number of locale managers. */ ?> 80 <h2><?php printf( esc_html__( 'Locale Managers (%s)', 'wporg' ), esc_html( number_format_i18n( count( $locale_data['locale_managers'] ) ) ) ); ?></h2> 72 81 73 82 <ul class="validators"> … … 90 99 91 100 <?php if ( ! empty( $locale_data['validators'] ) ) : ?> 92 <h2><?php printf( __( 'General Translation Editors (%s)', 'wporg' ), number_format_i18n( count( $locale_data['validators'] ) ) ); ?></h2> 101 <?php /* translators: %s: Number of general translation editors. */ ?> 102 <h2><?php printf( esc_html__( 'General Translation Editors (%s)', 'wporg' ), esc_html( number_format_i18n( count( $locale_data['validators'] ) ) ) ); ?></h2> 93 103 94 104 <ul class="validators"> … … 111 121 112 122 <?php if ( ! empty( $locale_data['project_validators'] ) ) : ?> 113 <h2><?php printf( __( 'Project Translation Editors (%s)', 'wporg' ), number_format_i18n( count( $locale_data['project_validators'] ) ) ); ?></h2> 123 <?php /* translators: %s: Number of project translation editors. */ ?> 124 <h2><?php printf( esc_html__( 'Project Translation Editors (%s)', 'wporg' ), esc_html( number_format_i18n( count( $locale_data['project_validators'] ) ) ) ); ?></h2> 114 125 115 126 <ul class="validators project-validators"> … … 132 143 133 144 <?php if ( ! empty( $locale_data['translators'] ) ) : ?> 134 <h2><?php printf( __( 'Current Translation Contributors (%s)', 'wporg' ), number_format_i18n( count( $locale_data['translators'] ) ) ); ?></h2> 145 <?php /* translators: %s: Number of current contributors. */ ?> 146 <h2><?php printf( esc_html__( 'Current Translation Contributors (%s)', 'wporg' ), esc_html( number_format_i18n( count( $locale_data['translators'] ) ) ) ); ?></h2> 135 147 136 148 <p> … … 150 162 151 163 <?php if ( ! empty( $locale_data['translators_past'] ) ) : ?> 152 <h2><?php printf( __( 'Past Translation Contributors (%s)', 'wporg' ), number_format_i18n( count( $locale_data['translators_past'] ) ) ); ?></h2> 164 <?php /* translators: %s: Number of past contributors. */ ?> 165 <h2><?php printf( esc_html__( 'Past Translation Contributors (%s)', 'wporg' ), esc_html( number_format_i18n( count( $locale_data['translators_past'] ) ) ) ); ?></h2> 153 166 154 167 <p> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-also-viewing/wporg-bbp-also-viewing.php
r15005 r15179 201 201 checked( enabled( $user_id ), true, false ), 202 202 sprintf( 203 __( 'Enable the <a href="%s">Also Viewing</a> feature.', 'wporg-forums' ), 203 /* translators: %s: Handbook URL. */ 204 wp_kses_post( __( 'Enable the <a href="%s">Also Viewing</a> feature.', 'wporg-forums' ) ), 204 205 'https://make.wordpress.org/support/handbook/appendix/helpful-tools/#avoiding-overlapping-replies' 205 206 ) -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-topic-resolution/inc/class-plugin.php
r15121 r15179 118 118 } 119 119 120 echo '<span class="topic-resolved-indicator">' . __( 'Resolved', 'wporg-forums' ) . '</span>';120 echo '<span class="topic-resolved-indicator">' . esc_html__( 'Resolved', 'wporg-forums' ) . '</span>'; 121 121 } 122 122 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/helper-functions.php
r15073 r15179 461 461 ?> 462 462 <div class="warning secondary"> 463 <strong><?php _e( 'Warning:', 'glotpress' ); ?></strong> <?php echo esc_html( $value ); ?>463 <strong><?php esc_html_e( 'Warning:', 'glotpress' ); ?></strong> <?php echo esc_html( $value ); ?> 464 464 465 465 <?php if ( $can_approve ) : ?> 466 <a href="#" class="discard-warning" data-nonce="<?php echo esc_attr( wp_create_nonce( 'discard-warning_' . $index . $key ) ); ?>" data-key="<?php echo esc_attr( $key ); ?>" data-index="<?php echo esc_attr( $index ); ?>"><?php _e( 'Discard', 'glotpress' ); ?></a>466 <a href="#" class="discard-warning" data-nonce="<?php echo esc_attr( wp_create_nonce( 'discard-warning_' . $index . $key ) ); ?>" data-key="<?php echo esc_attr( $key ); ?>" data-index="<?php echo esc_attr( $index ); ?>"><?php esc_html_e( 'Discard', 'glotpress' ); ?></a> 467 467 <?php endif; ?> 468 468 </div> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/index-locales.php
r15081 r15179 7 7 <div class="filter-header"> 8 8 <ul class="filter-header-links"> 9 <li><span class="current"><?php _e( 'Find your locale' ); ?></span></li>10 <li><a href="/stats"><?php _e( 'Stats' ); ?></a></li>11 <li><a href="/consistency"><?php _e( 'Consistency' ); ?></a></li>9 <li><span class="current"><?php esc_html_e( 'Find your locale' ); ?></span></li> 10 <li><a href="/stats"><?php esc_html_e( 'Stats' ); ?></a></li> 11 <li><a href="/consistency"><?php esc_html_e( 'Consistency' ); ?></a></li> 12 12 </ul> 13 13 <div class="search-form"> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/locale-project.php
r14328 r15179 58 58 <?php if ( $locale_glossary ) : ?> 59 59 <li class="locale-glossary"> 60 <a href="<?php echo esc_url( gp_url_join( gp_url( '/locale' ), $locale_slug, $set_slug, 'glossary' ) ); ?>" class="glossary-link"><?php _e( 'Locale Glossary', 'glotpress' ); ?></a>60 <a href="<?php echo esc_url( gp_url_join( gp_url( '/locale' ), $locale_slug, $set_slug, 'glossary' ) ); ?>" class="glossary-link"><?php esc_html_e( 'Locale Glossary', 'glotpress' ); ?></a> 61 61 </li> 62 62 <?php elseif ( $can_create_locale_glossary ) : ?> 63 63 <li class="locale-glossary"> 64 <a href="<?php echo esc_url( gp_url_join( gp_url( '/locale' ), $locale_slug, $set_slug, 'glossary' ) ); ?>" class="glossary-link"><?php _e( 'Create Locale Glossary', 'glotpress' ); ?></a>64 <a href="<?php echo esc_url( gp_url_join( gp_url( '/locale' ), $locale_slug, $set_slug, 'glossary' ) ); ?>" class="glossary-link"><?php esc_html_e( 'Create Locale Glossary', 'glotpress' ); ?></a> 65 65 </li> 66 66 <?php endif; ?> … … 148 148 <thead> 149 149 <tr> 150 <th class="header"><?php _e( 'Set / Sub Project' ); ?></th>151 <th><?php _e( 'Translated' ); ?></th>152 <th><?php _e( 'Fuzzy' ); ?></th>153 <th><?php _e( 'Untranslated' ); ?></th>154 <th><?php _e( 'Waiting' ); ?></th>155 <th><?php _e( 'Changes requested' ); ?></th>150 <th class="header"><?php esc_html_e( 'Set / Sub Project' ); ?></th> 151 <th><?php esc_html_e( 'Translated' ); ?></th> 152 <th><?php esc_html_e( 'Fuzzy' ); ?></th> 153 <th><?php esc_html_e( 'Untranslated' ); ?></th> 154 <th><?php esc_html_e( 'Waiting' ); ?></th> 155 <th><?php esc_html_e( 'Changes requested' ); ?></th> 156 156 </tr> 157 157 </thead> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/locale-projects.php
r15081 r15179 43 43 <?php if ( $locale_glossary ) : ?> 44 44 <li class="locale-glossary"> 45 <a href="<?php echo esc_url( gp_url_join( gp_url( '/locale' ), $locale_slug, $set_slug, 'glossary' ) ); ?>" class="glossary-link"><?php _e( 'Locale Glossary', 'glotpress' ); ?></a>45 <a href="<?php echo esc_url( gp_url_join( gp_url( '/locale' ), $locale_slug, $set_slug, 'glossary' ) ); ?>" class="glossary-link"><?php esc_html_e( 'Locale Glossary', 'glotpress' ); ?></a> 46 46 </li> 47 47 <?php elseif ( $can_create_locale_glossary ) : ?> 48 48 <li class="locale-glossary"> 49 <a href="<?php echo esc_url( gp_url_join( gp_url( '/locale' ), $locale_slug, $set_slug, 'glossary' ) ); ?>" class="glossary-link"><?php _e( 'Create Locale Glossary', 'glotpress' ); ?></a>49 <a href="<?php echo esc_url( gp_url_join( gp_url( '/locale' ), $locale_slug, $set_slug, 'glossary' ) ); ?>" class="glossary-link"><?php esc_html_e( 'Create Locale Glossary', 'glotpress' ); ?></a> 50 50 </li> 51 51 <?php endif; ?> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/project-form.php
r9923 r15179 1 <?php 2 /** 3 * Shared project form fields, used by both the new-project and edit-project templates. 4 * 5 * @package GlotPress 6 */ 7 8 ?> 1 9 <dl> 2 <dt><label for="project[name]"><?php _e( 'Name', 'glotpress' ); ?></label></dt>10 <dt><label for="project[name]"><?php esc_html_e( 'Name', 'glotpress' ); ?></label></dt> 3 11 <dd><input type="text" name="project[name]" value="<?php echo esc_html( $project->name ); ?>" id="project[name]"></dd> 4 12 5 13 <!-- TODO: make slug edit WordPress style --> 6 <dt><label for="project[slug]"><?php _e( 'Slug', 'glotpress' ); ?></label></dt>14 <dt><label for="project[slug]"><?php esc_html_e( 'Slug', 'glotpress' ); ?></label></dt> 7 15 <dd> 8 16 <input type="text" name="project[slug]" value="<?php echo esc_html( $project->slug ); ?>" id="project[slug]"> 9 <small><?php _e( 'If you leave the slug empty, it will be derived from the name.', 'glotpress' ); ?></small>17 <small><?php esc_html_e( 'If you leave the slug empty, it will be derived from the name.', 'glotpress' ); ?></small> 10 18 </dd> 11 19 12 <dt><label for="project[description]"><?php _e( 'Description', 'glotpress' ); ?></label> <span class="ternary"><?php_e( 'can include HTML', 'glotpress' ); ?></span></dt>20 <dt><label for="project[description]"><?php esc_html_e( 'Description', 'glotpress' ); ?></label> <span class="ternary"><?php esc_html_e( 'can include HTML', 'glotpress' ); ?></span></dt> 13 21 <dd><textarea name="project[description]" rows="4" cols="40" id="project[description]"><?php echo esc_html( $project->description ); ?></textarea></dd> 14 22 15 <dt><label for="project[source_url_template]"><?php _e( 'Source file URL', 'glotpress' ); ?></label></dt>23 <dt><label for="project[source_url_template]"><?php esc_html_e( 'Source file URL', 'glotpress' ); ?></label></dt> 16 24 <dd> 17 25 <input type="text" value="<?php echo esc_html( $project->source_url_template ); ?>" name="project[source_url_template]" id="project[source_url_template]" style="width: 30em;" /> 18 26 <span class="ternary"><?php printf( 19 27 /* translators: 1: %file%, 2: %line%, 3: https://trac.example.org/browser/%file%#L%line% */ 20 __( 'Public URL to a source file in the project. You can use %1$s and %2$s. Ex. %3$s', 'glotpress' ),28 esc_html__( 'Public URL to a source file in the project. You can use %1$s and %2$s. Ex. %3$s', 'glotpress' ), 21 29 '<code>%file%</code>', 22 30 '<code>%line%</code>', … … 25 33 </dd> 26 34 27 <dt><label for="project[parent_project_id]"><?php _e( 'Parent Project (ID)', 'glotpress' ); ?></label></dt>35 <dt><label for="project[parent_project_id]"><?php esc_html_e( 'Parent Project (ID)', 'glotpress' ); ?></label></dt> 28 36 <dd><input type="text" name="project[parent_project_id]" value="<?php echo esc_attr( $project->parent_project_id ); ?>" id="project[parent_project_id]"> 29 37 30 <dt><label for="project[active]"><?php _e( 'Active', 'glotpress' ); ?></label> <input type="checkbox" id="project[active]" name="project[active]" <?php gp_checked( $project->active ); ?> /></dt>38 <dt><label for="project[active]"><?php esc_html_e( 'Active', 'glotpress' ); ?></label> <input type="checkbox" id="project[active]" name="project[active]" <?php gp_checked( $project->active ); ?> /></dt> 31 39 </dl> 32 40 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/project-mass-create-sets.php
r9923 r15179 4 4 gp_tmpl_header(); 5 5 ?> 6 <h2><?php _e( 'Mass-create Translation Sets', 'glotpress' ); ?></h2> 7 <p><?php _e( 'Here you can mass-create translation sets in this project. 6 <h2><?php esc_html_e( 'Mass-create Translation Sets', 'glotpress' ); ?></h2> 7 <p> 8 <?php 9 esc_html_e( 10 'Here you can mass-create translation sets in this project. 8 11 The list of translation sets will be mirrored with the sets of a project you choose. 9 12 Usually this is one of the parent projects.', 'glotpress' ); ?></p> 10 13 <form action="<?php echo esc_url( gp_url_current() ); ?>" method="post"> 11 14 <dl> 12 <dt><label for="project_id"><?php _e( 'Project to take translation sets from:', 'glotpress' );?></label></dt>15 <dt><label for="project_id"><?php esc_html_e( 'Project to take translation sets from:', 'glotpress' ); ?></label></dt> 13 16 <dd><input type="text" name="project_id" value="" id="project_id"> 14 17 </dl> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/projects-wp-plugins-contributors.php
r15170 r15179 100 100 $has_editors ? ' has-editors' : ' no-editors', 101 101 $locale->english_name, 102 sprintf( _n( '%s person', '%s persons', $data['count'] ), number_format_i18n( $data['count'] ) ), 102 /* translators: %s: Number of people. */ 103 sprintf( esc_html( _n( '%s person', '%s persons', $data['count'] ) ), esc_html( number_format_i18n( $data['count'] ) ) ), 103 104 esc_url( gp_url_join( '/locale', $locale->slug, 'default', $project->path ) ), 104 105 $locale->wp_locale, -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/projects-wp-themes-contributors.php
r15170 r15179 100 100 $has_editors ? ' has-editors' : ' no-editors', 101 101 $locale->english_name, 102 sprintf( _n( '%s person', '%s persons', $data['count'] ), number_format_i18n( $data['count'] ) ), 102 /* translators: %s: Number of people. */ 103 sprintf( esc_html( _n( '%s person', '%s persons', $data['count'] ) ), esc_html( number_format_i18n( $data['count'] ) ) ), 103 104 $locale->wp_locale, 104 105 wp_sprintf( '%l', $editors_list ), -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/settings.php
r11837 r15179 28 28 } 29 29 ?> 30 <h2><?php _e( 'Your Settings', 'glotpress' ); ?></h2>30 <h2><?php esc_html_e( 'Your Settings', 'glotpress' ); ?></h2> 31 31 <form action="" method="post"> 32 32 <?php require_once __DIR__ . '/settings-edit.php'; ?> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/stats-overview.php
r12406 r15179 19 19 <thead> 20 20 <tr> 21 <th class="col-locale-code"><?php _e( 'Locale' ); ?></th>21 <th class="col-locale-code"><?php esc_html_e( 'Locale' ); ?></th> 22 22 <?php foreach ( $projects as $slug => $project ) : 23 23 $name = str_replace( array( 'WordPress.org ', 'WordPress for ', 'WordPress ', 'ectory', ' - Development' ), '', $project->name ); -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/translation-row-editor.php
r15170 r15179 130 130 ?> 131 131 <details open class="source-details__comment"> 132 <summary><?php _e( 'Comment', 'glotpress' ); ?></summary>132 <summary><?php esc_html_e( 'Comment', 'glotpress' ); ?></summary> 133 133 <p> 134 134 <?php … … 272 272 <?php if ( $can_approve_translation ) : ?> 273 273 <?php if ( 'current' !== $translation->translation_status ) : ?> 274 <button class="button is-primary approve" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-current_' . $translation->id ) ); ?>"><strong>+</strong> <?php _e( 'Approve', 'glotpress' ); ?></button>274 <button class="button is-primary approve" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-current_' . $translation->id ) ); ?>"><strong>+</strong> <?php esc_html_e( 'Approve', 'glotpress' ); ?></button> 275 275 <?php endif; ?> 276 276 <?php if ( 'rejected' !== $translation->translation_status ) : ?> 277 <button class="button reject" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-rejected_' . $translation->id ) ); ?>"><strong>−</strong> <?php _e( 'Reject', 'glotpress' ); ?></button>277 <button class="button reject" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-rejected_' . $translation->id ) ); ?>"><strong>−</strong> <?php esc_html_e( 'Reject', 'glotpress' ); ?></button> 278 278 <?php if ( apply_filters( 'gp_enable_changesrequested_status', false ) ) : // todo: delete when we merge the gp-translation-helpers in GlotPress ?> 279 <button class="button changesrequested" style="display: none;" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-changesrequested_' . $translation->id ) ); ?>" title="<?php esc_attr_e( 'Request changes for this translation. The existing translation will be kept as part of the translation history.', 'glotpress' ); ?>"><strong>−</strong> <?php _ex( 'Request changes', 'Action', 'glotpress' ); ?></button>279 <button class="button changesrequested" style="display: none;" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-changesrequested_' . $translation->id ) ); ?>" title="<?php esc_attr_e( 'Request changes for this translation. The existing translation will be kept as part of the translation history.', 'glotpress' ); ?>"><strong>−</strong> <?php echo esc_html_x( 'Request changes', 'Action', 'glotpress' ); ?></button> 280 280 <?php endif; ?> 281 281 <?php endif; ?> 282 282 <?php if ( 'fuzzy' !== $translation->translation_status ) : ?> 283 <button class="button fuzzy" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-fuzzy_' . $translation->id ) ); ?>"><strong>~</strong> <?php _e( 'Fuzzy', 'glotpress' ); ?></button>283 <button class="button fuzzy" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-fuzzy_' . $translation->id ) ); ?>"><strong>~</strong> <?php esc_html_e( 'Fuzzy', 'glotpress' ); ?></button> 284 284 <?php endif; ?> 285 285 <?php elseif ( $can_reject_self ) : ?> 286 <button class="button reject" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-rejected_' . $translation->id ) ); ?>"><strong>−</strong> <?php _e( 'Reject Suggestion', 'glotpress' ); ?></button>287 <button class="button fuzzy" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-fuzzy_' . $translation->id ) ); ?>"><strong>~</strong> <?php _e( 'Fuzzy', 'glotpress' ); ?></button>286 <button class="button reject" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-rejected_' . $translation->id ) ); ?>"><strong>−</strong> <?php esc_html_e( 'Reject Suggestion', 'glotpress' ); ?></button> 287 <button class="button fuzzy" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-fuzzy_' . $translation->id ) ); ?>"><strong>~</strong> <?php esc_html_e( 'Fuzzy', 'glotpress' ); ?></button> 288 288 <?php endif; ?> 289 289 </div> … … 291 291 292 292 <dl> 293 <dt><?php _e( 'Status:', 'glotpress' ); ?></dt>293 <dt><?php esc_html_e( 'Status:', 'glotpress' ); ?></dt> 294 294 <dd> 295 295 <?php echo display_status( $translation->translation_status ); ?> … … 299 299 <?php if ( $translation->translation_added && $translation->translation_added !== '0000-00-00 00:00:00' ) : ?> 300 300 <dl> 301 <dt><?php _e( 'Added:', 'glotpress' ); ?></dt>301 <dt><?php esc_html_e( 'Added:', 'glotpress' ); ?></dt> 302 302 <dd><?php echo $translation->translation_added; ?> UTC</dd> 303 303 </dl> … … 305 305 <?php if ( $translation->date_modified && $translation->date_modified !== '0000-00-00 00:00:00' && $translation->date_modified !== $translation->translation_added ) : ?> 306 306 <dl> 307 <dt><?php _e( 'Last modified:', 'glotpress' ); ?></dt>307 <dt><?php esc_html_e( 'Last modified:', 'glotpress' ); ?></dt> 308 308 <dd><?php echo $translation->date_modified; ?> UTC</dd> 309 309 </dl> … … 311 311 <?php if ( $translation->user ) : ?> 312 312 <dl> 313 <dt><?php _e( 'Translated by:', 'glotpress' ); ?></dt>313 <dt><?php esc_html_e( 'Translated by:', 'glotpress' ); ?></dt> 314 314 <dd><?php gp_link_user( $translation->user ); ?></dd> 315 315 </dl> … … 320 320 <?php 321 321 if ( 'current' === $translation->translation_status ) { 322 _e( 'Approved by:', 'glotpress' );322 esc_html_e( 'Approved by:', 'glotpress' ); 323 323 } elseif ( 'rejected' === $translation->translation_status ) { 324 _e( 'Rejected by:', 'glotpress' );324 esc_html_e( 'Rejected by:', 'glotpress' ); 325 325 } else { 326 _e( 'Last updated by:', 'glotpress' );326 esc_html_e( 'Last updated by:', 'glotpress' ); 327 327 } 328 328 ?> … … 333 333 334 334 <dl> 335 <dt><?php _e( 'Priority of the original:', 'glotpress' ); ?></dt>335 <dt><?php esc_html_e( 'Priority of the original:', 'glotpress' ); ?></dt> 336 336 <?php if ( $can_write ) : ?> 337 337 <dd> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/translation-row-preview.php
r14893 r15179 133 133 </td> 134 134 <td class="actions"> 135 <a href="#" class="action edit"><?php _e( 'Details', 'glotpress' ); ?></a>135 <a href="#" class="action edit"><?php esc_html_e( 'Details', 'glotpress' ); ?></a> 136 136 </td> 137 137 <?php if ( wporg_translate_inline_actions_enabled_for_current_user( get_defined_vars() ) ) : ?> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/translation-set-form.php
r9923 r15179 1 <?php 2 /** 3 * Shared translation set form fields, used by both the new and edit templates. 4 * 5 * @package GlotPress 6 */ 7 8 ?> 1 9 <dl> 2 <dt><label for="set[locale]"><?php _e( 'Locale', 'glotpress' ); ?></label></dt>10 <dt><label for="set[locale]"><?php esc_html_e( 'Locale', 'glotpress' ); ?></label></dt> 3 11 <dd> 4 12 <?php echo gp_locales_dropdown( 'set[locale]', $set->locale ); ?> 5 <a href="#" id="copy"><?php _e( 'Use as name', 'glotpress' ); ?></a>13 <a href="#" id="copy"><?php esc_html_e( 'Use as name', 'glotpress' ); ?></a> 6 14 </dd> 7 15 8 <dt><label for="set[name]"><?php _e( 'Name', 'glotpress' ); ?></label></dt>16 <dt><label for="set[name]"><?php esc_html_e( 'Name', 'glotpress' ); ?></label></dt> 9 17 <dd><input type="text" name="set[name]" value="<?php echo esc_html( $set->name ); ?>" id="set[name]"></dd> 10 18 11 19 <!-- TODO: make slug edit WordPress style --> 12 <dt><label for="set[slug]"><?php _e( 'Slug', 'glotpress' ); ?></label></dt>20 <dt><label for="set[slug]"><?php esc_html_e( 'Slug', 'glotpress' ); ?></label></dt> 13 21 <dd><input type="text" name="set[slug]" value="<?php echo esc_html( $set->slug? $set->slug : 'default' ); ?>" id="set[slug]"></dd> 14 22 15 <dt><label for="set[project_id]"><?php _e( 'Project (ID)', 'glotpress' ); ?></label></dt>23 <dt><label for="set[project_id]"><?php esc_html_e( 'Project (ID)', 'glotpress' ); ?></label></dt> 16 24 <dd><input type="text" name="set[project_id]" value="<?php echo esc_attr( $set->project_id ); ?>" id="set[project_id]"> 17 25 </dl> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-discussions/inc/class-plugin.php
r8987 r15179 131 131 132 132 <label class="feedback"> 133 <?php _e( 'Comment:', 'glotpress' ); ?>133 <?php esc_html_e( 'Comment:', 'glotpress' ); ?> 134 134 <textarea placeholder="Let the contributor know what they did wrong…" name="comment" rows="4"></textarea> 135 135 </label> … … 159 159 <form action="POST"> 160 160 <label class="feedback"> 161 <?php _e( 'Comment:', 'glotpress' ); ?>161 <?php esc_html_e( 'Comment:', 'glotpress' ); ?> 162 162 <textarea required placeholder="Type your question or feedback to this string…" name="comment" rows="4"></textarea> 163 163 </label> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-rosetta-roles/inc/admin/class-translators.php
r3952 r15179 71 71 <h2> 72 72 <?php 73 _e( 'Translators', 'wporg-translate' );73 esc_html_e( 'Translators', 'wporg-translate' ); 74 74 75 75 if ( ! empty( $_REQUEST['s'] ) ) { 76 echo '<span class="subtitle">' . sprintf( __( 'Search results for “%s”', 'wporg-translate' ), esc_html( wp_unslash( $_REQUEST['s'] ) ) ) . '</span>'; 76 /* translators: %s: Search term. */ 77 echo '<span class="subtitle">' . sprintf( esc_html__( 'Search results for “%s”', 'wporg-translate' ), esc_html( wp_unslash( $_REQUEST['s'] ) ) ) . '</span>'; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Escaped for display. 77 78 } 78 79 ?> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-rosetta-roles/inc/admin/list-table/class-translators.php
r4025 r15179 98 98 */ 99 99 public function no_items() { 100 _e( 'No translators were found.', 'wporg-translate' );100 esc_html_e( 'No translators were found.', 'wporg-translate' ); 101 101 } 102 102 … … 159 159 if ( $this->user_can_promote ) { 160 160 ?> 161 <label class="screen-reader-text" for="cb-select-<?php echo $user->ID; ?>"><?php_e( 'Select translator', 'wporg-translate' ); ?></label>161 <label class="screen-reader-text" for="cb-select-<?php echo (int) $user->ID; ?>"><?php esc_html_e( 'Select translator', 'wporg-translate' ); ?></label> 162 162 <input id="cb-select-<?php echo $user->ID; ?>" type="checkbox" name="translators[]" value="<?php echo $user->ID; ?>"> 163 163 <?php -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-meeting-posttype/wporg-meeting-posttype.php
r14296 r15179 259 259 <p> 260 260 <label for="team"> 261 <?php _e( 'Team: ', 'wporg' ); ?>261 <?php esc_html_e( 'Team: ', 'wporg' ); ?> 262 262 <input type="text" id="team" name="team" class="regular-text wide" value="<?php echo esc_attr( $team ); ?>"> 263 263 </label> … … 265 265 <p> 266 266 <label for="start_date"> 267 <?php _e( 'Start Date', 'wporg' ); ?>267 <?php esc_html_e( 'Start Date', 'wporg' ); ?> 268 268 <input type="text" name="start_date" id="start_date" class="date" value="<?php echo esc_attr( $start ); ?>"> 269 269 </label> 270 270 <label for="end_date"> 271 <?php _e( 'End Date', 'wporg' ); ?>271 <?php esc_html_e( 'End Date', 'wporg' ); ?> 272 272 <input type="text" name="end_date" id="end_date" class="date" value="<?php echo esc_attr( $end ); ?>"> 273 273 </label> … … 275 275 <p> 276 276 <label for="time"> 277 <?php _e( 'Time (UTC)', 'wporg' ); ?>277 <?php esc_html_e( 'Time (UTC)', 'wporg' ); ?> 278 278 <input type="text" name="time" id="time" class="time" value="<?php echo esc_attr( $time ); ?>"> 279 279 </label> 280 280 </p> 281 281 <p class="recurring"> 282 <?php_e( 'Recurring: ', 'wporg' ); ?><br />282 <?php esc_html_e( 'Recurring: ', 'wporg' ); ?><br /> 283 283 <label for="weekly"> 284 284 <input type="radio" name="recurring" value="weekly" id="weekly" class="regular-radio" <?php checked( $recurring, 'weekly' ); ?>> 285 <?php _e( 'Weekly', 'wporg' ); ?>285 <?php esc_html_e( 'Weekly', 'wporg' ); ?> 286 286 </label><br /> 287 287 288 288 <label for="biweekly"> 289 289 <input type="radio" name="recurring" value="biweekly" id="biweekly" class="regular-radio" <?php checked( $recurring, 'biweekly' ); ?>> 290 <?php _e( 'Biweekly', 'wporg' ); ?>290 <?php esc_html_e( 'Biweekly', 'wporg' ); ?> 291 291 </label><br /> 292 292 293 293 <label for="occurrence"> 294 294 <input type="radio" name="recurring" value="occurrence" id="occurrence" class="regular-radio" <?php checked( $recurring, 'occurrence' ); ?>> 295 <?php _e( 'Occurrence in a month:', 'wporg' ); ?>295 <?php esc_html_e( 'Occurrence in a month:', 'wporg' ); ?> 296 296 </label> 297 297 <label for="week-1"> 298 298 <input type="checkbox" name="occurrence[]" value="1" id="week-1" <?php checked( in_array( 1, $occurrence ) ); ?>> 299 <?php _e( '1st', 'wporg' ); ?>299 <?php esc_html_e( '1st', 'wporg' ); ?> 300 300 </label> 301 301 <label for="week-2"> 302 302 <input type="checkbox" name="occurrence[]" value="2" id="week-2" <?php checked( in_array( 2, $occurrence ) ); ?>> 303 <?php _e( '2nd', 'wporg' ); ?>303 <?php esc_html_e( '2nd', 'wporg' ); ?> 304 304 </label> 305 305 <label for="week-3"> 306 306 <input type="checkbox" name="occurrence[]" value="3" id="week-3" <?php checked( in_array( 3, $occurrence ) ); ?>> 307 <?php _e( '3rd', 'wporg' ); ?>307 <?php esc_html_e( '3rd', 'wporg' ); ?> 308 308 </label> 309 309 <label for="week-4"> 310 310 <input type="checkbox" name="occurrence[]" value="4" id="week-4" <?php checked( in_array( 4, $occurrence ) ); ?>> 311 <?php _e( '4th', 'wporg' ); ?>311 <?php esc_html_e( '4th', 'wporg' ); ?> 312 312 </label><br /> 313 313 314 314 <label for="monthly"> 315 315 <input type="radio" name="recurring" value="monthly" id="monthly" class="regular-radio" <?php checked( $recurring, 'monthly' ); ?>> 316 <?php _e( 'Monthly', 'wporg' ); ?>316 <?php esc_html_e( 'Monthly', 'wporg' ); ?> 317 317 </label> 318 318 </p> 319 319 <p> 320 <label for="link"><?php _e( 'Link: ', 'wporg' ); ?>320 <label for="link"><?php esc_html_e( 'Link: ', 'wporg' ); ?> 321 321 <input type="text" name="link" id="link" class="regular-text wide" value="<?php echo esc_url( $link ); ?>"> 322 322 </label> 323 323 </p> 324 324 <p> 325 <label for="location"><?php _e( 'Location: ', 'wporg' ); ?>325 <label for="location"><?php esc_html_e( 'Location: ', 'wporg' ); ?> 326 326 <input type="text" name="location" id="location" class="regular-text wide" value="<?php echo esc_attr( $location ); ?>"> 327 327 </label> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/functions.php
r14855 r15179 389 389 ?> 390 390 <div class="make-welcome"> 391 <a href="#" id="secondary-toggle" onclick="return false;"><strong><?php _e( 'Menu' ); ?></strong></a>391 <a href="#" id="secondary-toggle" onclick="return false;"><strong><?php esc_html_e( 'Menu' ); ?></strong></a> 392 392 <div class="entry-meta"> 393 393 <?php edit_post_link( __( 'Edit', 'wporg' ), '', '', $welcome->ID, 'post-edit-link make-welcome-edit-post-link' ); ?> … … 397 397 data-show="<?php esc_attr_e( 'Show welcome box', 'wporg' ); ?>" 398 398 data-hide="<?php esc_attr_e( 'Hide welcome box', 'wporg' ); ?>" 399 ><span><?php _e( 'Hide welcome box', 'wporg' ); ?></span></button>399 ><span><?php esc_html_e( 'Hide welcome box', 'wporg' ); ?></span></button> 400 400 </div> 401 401 <div class="entry-content clear" id="make-welcome-content" data-cookie="<?php echo $cookie; ?>" data-hash="<?php echo $content_hash; ?>"> … … 440 440 ?> 441 441 <noscript class="js-disabled-notice"> 442 <?php _e( 'Please enable JavaScript to view this page properly.', 'wporg' ); ?>442 <?php esc_html_e( 'Please enable JavaScript to view this page properly.', 'wporg' ); ?> 443 443 </noscript> 444 444 <?php … … 727 727 ?> 728 728 <nav role="navigation" id="<?php echo esc_attr( $nav_id ); ?>" class="<?php echo $nav_class; ?>"> 729 <h2 class="screen-reader-text"><?php _e( 'Post navigation', 'wporg' ); ?></h2>729 <h2 class="screen-reader-text"><?php esc_html_e( 'Post navigation', 'wporg' ); ?></h2> 730 730 731 731 <?php if ( is_single() ) : // navigation links for single posts ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/search.php
r14156 r15179 22 22 <h1 class="page-title"> 23 23 <?php if ( $is_handbook ) { 24 printf( __( 'Handbook Search Results for: %s', 'wporg' ), '<span>' . get_search_query() . '</span>' ); 24 /* translators: %s: Search query. */ 25 printf( esc_html__( 'Handbook Search Results for: %s', 'wporg' ), '<span>' . get_search_query() . '</span>' ); 25 26 } else { 26 printf( __( 'Search Results for: %s', 'wporg' ), '<span>' . get_search_query() . '</span>' ); 27 /* translators: %s: Search query. */ 28 printf( esc_html__( 'Search Results for: %s', 'wporg' ), '<span>' . get_search_query() . '</span>' ); 27 29 } ?> 28 30 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/searchform.php
r14020 r15179 8 8 <?php $search_url = function_exists( 'wporg_is_handbook' ) && wporg_is_handbook() ? wporg_get_current_handbook_home_url() : home_url( '/' ); ?> 9 9 <form method="get" id="searchform" class="searchform" action="<?php echo esc_url( $search_url ); ?>" role="search"> 10 <label for="s" class="screen-reader-text"><?php _ex( 'Search', 'label', 'wporg' ); ?></label>11 <input type="search" class="field" name="s" value="<?php echo get_search_query(); ?>" id="s" placeholder="<?php _ex( 'Search …', 'placeholder', 'wporg' ); ?>">10 <label for="s" class="screen-reader-text"><?php echo esc_html_x( 'Search', 'label', 'wporg' ); ?></label> 11 <input type="search" class="field" name="s" value="<?php echo get_search_query(); ?>" id="s" placeholder="<?php echo esc_attr_x( 'Search …', 'placeholder', 'wporg' ); ?>"> 12 12 <input type="submit" class="submit" id="searchsubmit" value="<?php echo esc_attr_x( 'Search', 'submit button', 'wporg' ); ?>"> 13 13 </form> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/single-handbook.php
r14145 r15179 38 38 printf( 39 39 /* translators: %s: Date of last update. */ 40 '<p class="handbook-last-updated">' . __( 'Last updated: %s', 'wporg' ) . '</p>',40 '<p class="handbook-last-updated">' . esc_html__( 'Last updated: %s', 'wporg' ) . '</p>', 41 41 sprintf( 42 42 '<time datetime="%s">%s</time>', -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/backup-codes.php
r14134 r15179 40 40 <h2 class="center"><?php 41 41 if ( $used_backup_code ) { 42 _e( 'Backup Code used', 'wporg' );42 esc_html_e( 'Backup Code used', 'wporg' ); 43 43 } else { 44 _e( 'Account Backup Codes', 'wporg' );44 esc_html_e( 'Account Backup Codes', 'wporg' ); 45 45 } 46 46 ?></h2> … … 50 50 <p><?php 51 51 if ( $used_backup_code ) { 52 _e( "You've logged in with a backup code.<br>These codes are intended to be used when you lose access to your authentication device.<br>Please take a moment to review your account settings and ensure your two-factor settings are up-to-date.", 'wporg');52 echo wp_kses_post( __( 'You’ve logged in with a backup code.<br>These codes are intended to be used when you lose access to your authentication device.<br>Please take a moment to review your account settings and ensure your two-factor settings are up-to-date.', 'wporg' ) ); 53 53 } else { 54 54 if ( ! $codes_available ) { 55 _e( 'You do not have any backup codes remaining.', 'wporg' );55 esc_html_e( 'You do not have any backup codes remaining.', 'wporg' ); 56 56 } else { 57 57 printf( 58 _n( 59 'You have %s backup code remaining.', 60 'You have %s backup codes remaining.', 61 $codes_available, 62 'wporg' 58 esc_html( 59 /* translators: %s: Number of backup codes. */ 60 _n( 61 'You have %s backup code remaining.', 62 'You have %s backup codes remaining.', 63 $codes_available, 64 'wporg' 65 ) 63 66 ), 64 67 '<code>' . number_format_i18n( $codes_available ) . '</code>' … … 74 77 75 78 <p><?php 76 _e( 'If you run out of backup codes and no longer have access to your authentication device, you are at risk of being locked out of your WordPress.org account if we are unable to verify account ownership.', 'wporg' );79 esc_html_e( 'If you run out of backup codes and no longer have access to your authentication device, you are at risk of being locked out of your WordPress.org account if we are unable to verify account ownership.', 'wporg' ); 77 80 ?></p> 78 81 79 82 <p> </p> 80 83 81 <p><a href="<?php echo esc_url( $account_settings_url ); ?>"><button class="button-primary"><?php _e( 'View my account settings', 'wporg' ); ?></button></a></p>84 <p><a href="<?php echo esc_url( $account_settings_url ); ?>"><button class="button-primary"><?php esc_html_e( 'View my account settings', 'wporg' ); ?></button></a></p> 82 85 83 86 <?php if ( $can_ignore ) { ?> 84 87 <p id="nav"> 85 <a href="<?php echo esc_url( $redirect_to ); ?>" style="font-style: italic;"><?php _e( "I'll do this later", 'wporg' ); ?></a>88 <a href="<?php echo esc_url( $redirect_to ); ?>" style="font-style: italic;"><?php esc_html_e( 'I’ll do this later', 'wporg' ); ?></a> 86 89 </p> 87 90 <?php } ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/checkemail.php
r10898 r15179 9 9 ?> 10 10 11 <p class="center singleline"><?php _e( 'Check your email for a confirmation link.', 'wporg' ); ?></p>11 <p class="center singleline"><?php esc_html_e( 'Check your email for a confirmation link.', 'wporg' ); ?></p> 12 12 13 13 <p id="nav"> 14 <a href="/"><?php _e( '← Back to login', 'wporg' ); ?></a> • 15 <a href="<?php echo wporg_login_wordpress_url(); ?>"><?php _e( 'WordPress.org', 'wporg' ); ?></a>14 <a href="/"><?php esc_html_e( '← Back to login', 'wporg' ); ?></a> • 15 <a href="<?php echo wporg_login_wordpress_url(); ?>"><?php esc_html_e( 'WordPress.org', 'wporg' ); ?></a> 16 16 </p> 17 17 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/enable-2fa.php
r14134 r15179 31 31 ?> 32 32 33 <h2 class="center"><?php _e( 'Two-Factor Authentication', 'wporg' ); ?></h2>33 <h2 class="center"><?php esc_html_e( 'Two-Factor Authentication', 'wporg' ); ?></h2> 34 34 35 35 <p> </p> … … 37 37 <p><?php 38 38 if ( $requires_2fa ) { 39 _e( 'WordPress.org now requires that your account be protected by two-factor authentication. Some capabilities may be limited until your account is protected.', 'wporg' );39 esc_html_e( 'WordPress.org now requires that your account be protected by two-factor authentication. Some capabilities may be limited until your account is protected.', 'wporg' ); 40 40 } else { 41 _e( "WordPress.org supports two-factor authentication and you'll soon be required to configure it on your account.", 'wporg' );41 esc_html_e( 'WordPress.org supports two-factor authentication and you’ll soon be required to configure it on your account.', 'wporg' ); 42 42 } 43 43 ?></p> … … 45 45 <p> </p> 46 46 47 <p><?php printf( __( 'For more information on our two-factor options, please read the <a href="%s" target="_blank">documentation</a>.', 'wporg' ), 'https://make.wordpress.org/meta/handbook/tutorials-guides/configuring-two-factor-authentication/' ); ?></p> 47 <?php /* translators: %s: Documentation URL. */ ?> 48 <p><?php printf( wp_kses_post( __( 'For more information on our two-factor options, please read the <a href="%s" target="_blank">documentation</a>.', 'wporg' ) ), 'https://make.wordpress.org/meta/handbook/tutorials-guides/configuring-two-factor-authentication/' ); ?></p> 48 49 49 50 <p> </p> 50 51 51 <p><a href="<?php echo esc_url( add_query_arg( 'redirect_to', urlencode( $redirect_to ), get_onboarding_account_url() ) ); ?>"><button class="button-primary"><?php _e( "OK, I'll setup Two-Factor now.", 'wporg' ); ?></button></a></p>52 <p><a href="<?php echo esc_url( add_query_arg( 'redirect_to', urlencode( $redirect_to ), get_onboarding_account_url() ) ); ?>"><button class="button-primary"><?php esc_html_e( 'OK, I’ll setup Two-Factor now.', 'wporg' ); ?></button></a></p> 52 53 53 54 <?php if ( ! $requires_2fa ) { ?> 54 55 <p id="nav"> 55 <a href="<?php echo esc_url( $redirect_to ); ?>" style="font-style: italic;"><?php _e( "I'll do it later", 'wporg' ); ?></a>56 <a href="<?php echo esc_url( $redirect_to ); ?>" style="font-style: italic;"><?php esc_html_e( 'I’ll do it later', 'wporg' ); ?></a> 56 57 </p> 57 58 <?php } ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions-registration.php
r15003 r15179 69 69 wp_die( $pre_register_error ); 70 70 } 71 wp_die( __( 'Registration Blocked. Please stop.', 'wporg' ) );71 wp_die( esc_html__( 'Registration Blocked. Please stop.', 'wporg' ) ); 72 72 } 73 73 … … 161 161 $inserted = wporg_update_pending_user( $pending_user ); 162 162 if ( ! $inserted ) { 163 wp_die( __( 'Error! Something went wrong with your registration. Try again?', 'wporg' ) );163 wp_die( esc_html__( 'Error! Something went wrong with your registration. Try again?', 'wporg' ) ); 164 164 } 165 165 … … 373 373 ); 374 374 if ( ! $user_id ) { 375 wp_die( __( 'Error! Something went wrong with your registration. Try again?', 'wporg' ) );375 wp_die( esc_html__( 'Error! Something went wrong with your registration. Try again?', 'wporg' ) ); 376 376 } 377 377 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions.php
r15090 r15179 331 331 <label for="language-switcher-locales"> 332 332 <span aria-hidden="true" class="dashicons dashicons-translation"></span> 333 <span class="screen-reader-text"><?php _e( 'Select the language:', 'wporg' ); ?></span>333 <span class="screen-reader-text"><?php esc_html_e( 'Select the language:', 'wporg' ); ?></span> 334 334 </label> 335 335 <select id="language-switcher-locales" name="locale"> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/linkexpired.php
r13704 r15179 12 12 ?> 13 13 14 <h2 class="center"><?php _e( 'Link Expired', 'wporg' ); ?></h2>14 <h2 class="center"><?php esc_html_e( 'Link Expired', 'wporg' ); ?></h2> 15 15 16 16 <?php 17 17 if ( 'register' == $reason && $user ) { 18 echo '<p class="center">' . __( "The link you've followed has expired.", 'wporg' ) . '</p>';18 echo '<p class="center">' . esc_html__( 'The link you’ve followed has expired.', 'wporg' ) . '</p>'; 19 19 20 20 echo '<p class="center"><a href="' . esc_url( home_url( '/register/' . urlencode( $user ) ) ) . '">' . 21 21 sprintf( 22 22 /* translators: %s: An account name. */ 23 __( 'Start over, and register %s.', 'wporg' ),23 esc_html__( 'Start over, and register %s.', 'wporg' ), 24 24 '<code>' . esc_html( $user ) . '</code>' 25 25 ) . 26 26 '</a></p>'; 27 27 } elseif ( 'lostpassword' == $reason && $user ) { 28 echo '<p class="center">' . __( "The link you've followed has expired.", 'wporg' ) . '</p>';28 echo '<p class="center">' . esc_html__( 'The link you’ve followed has expired.', 'wporg' ) . '</p>'; 29 29 echo '<p class="center"><a href="' . esc_url( home_url( '/lostpassword/' . urlencode( $user ) ) ) . '">' . 30 __( 'Reset your password.', 'wporg' ) .30 esc_html__( 'Reset your password.', 'wporg' ) . 31 31 '</a></p>'; 32 32 } elseif ( 'account-created' === $reason ) { 33 echo '<p class="center">' . __( "That account has already been created.", 'wporg' ) . '</p>';33 echo '<p class="center">' . esc_html__( 'That account has already been created.', 'wporg' ) . '</p>'; 34 34 35 echo '<p class="center"><a href="' . esc_url( add_query_arg( 'user', $user, home_url() ) ) . '">' . __( 'Please log in to continue.', 'wporg' ) . '</a></p>';35 echo '<p class="center"><a href="' . esc_url( add_query_arg( 'user', $user, home_url() ) ) . '">' . esc_html__( 'Please log in to continue.', 'wporg' ) . '</a></p>'; 36 36 37 37 echo '<p class="center"><a href="' . esc_url( home_url( '/lostpassword/' . urlencode( $user ) ) ) . '">' . 38 __( 'Reset your password.', 'wporg' ) .38 esc_html__( 'Reset your password.', 'wporg' ) . 39 39 '</a></p>'; 40 40 41 41 } elseif ( 'register-logged-in' === $reason ) { 42 42 echo '<p class="center">' . sprintf( 43 __( 'Please do not make multiple WordPress.org accounts. Please read the <a href="%s">Forum Guidelines</a> for more information.', 'wporg' ), 43 /* translators: %s: Forum guidelines URL. */ 44 wp_kses_post( __( 'Please do not make multiple WordPress.org accounts. Please read the <a href="%s">Forum Guidelines</a> for more information.', 'wporg' ) ), 44 45 'https://wordpress.org/support/guidelines/#do-not-create-multiple-accounts-sockpuppets' 45 46 ) . '</p>'; 46 47 47 echo '<p class="center">' . __( 'Please log out, and follow the link again to complete the registration.', 'wporg' ) . '</p>';48 echo '<p class="center">' . esc_html__( 'Please log out, and follow the link again to complete the registration.', 'wporg' ) . '</p>'; 48 49 49 50 echo '<p class="center">' . sprintf( 50 51 /* translators: %s: logout URL */ 51 __( 'Do you really want to <a href="%s">log out</a>?', 'wporg'),52 wp_kses_post( __( 'Do you really want to <a href="%s">log out</a>?', 'wporg' ) ), 52 53 esc_url( wp_logout_url() ) 53 54 ) . '</p>'; 54 55 55 56 } else { 56 echo '<p class="center">' . __( "The link you've followed has expired.", 'wporg' ) . '</p>';57 echo '<p class="center">' . esc_html__( 'The link you’ve followed has expired.', 'wporg' ) . '</p>'; 57 58 } 58 59 ?> 59 60 60 61 <p id="nav"> 61 <a href="/"><?php _e( '← Back to login', 'wporg' ); ?></a> • 62 <a href="<?php echo wporg_login_wordpress_url(); ?>"><?php _e( 'WordPress.org', 'wporg' ); ?></a>62 <a href="/"><?php esc_html_e( '← Back to login', 'wporg' ); ?></a> • 63 <a href="<?php echo wporg_login_wordpress_url(); ?>"><?php esc_html_e( 'WordPress.org', 'wporg' ); ?></a> 63 64 </p> 64 65 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/loggedout.php
r14481 r15179 9 9 ?> 10 10 11 <p class="center"><?php _e( 'You are now logged out.', 'wporg' ); ?></p>11 <p class="center"><?php esc_html_e( 'You are now logged out.', 'wporg' ); ?></p> 12 12 13 13 <?php … … 23 23 printf( 24 24 /* translators: 1: url, 2: Hostname, ie. wordcamp.org */ 25 __( 'Return to <a href="%1$s">%2$s</a>.', 'wporg'),25 wp_kses_post( __( 'Return to <a href="%1$s">%2$s</a>.', 'wporg' ) ), 26 26 esc_url( $redirect_to ), 27 27 esc_html( $hostname ) … … 32 32 33 33 <p id="nav"> 34 <a href="/"><?php _e( '← Back to login', 'wporg' ); ?></a> • 35 <a href="<?php echo wporg_login_wordpress_url(); ?>"><?php _e( 'WordPress.org', 'wporg' ); ?></a>34 <a href="/"><?php esc_html_e( '← Back to login', 'wporg' ); ?></a> • 35 <a href="<?php echo wporg_login_wordpress_url(); ?>"><?php esc_html_e( 'WordPress.org', 'wporg' ); ?></a> 36 36 </p> 37 37 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/login.php
r14334 r15179 27 27 <p class="intro"><?php echo wporg_login_wporg_is_starpress(); ?></p> 28 28 <p class="login-username"> 29 <label for="user_login"><?php _e( 'Username or Email Address', 'wporg' ); ?></label>29 <label for="user_login"><?php esc_html_e( 'Username or Email Address', 'wporg' ); ?></label> 30 30 <input type="text" name="log" id="user_login" class="input" value="<?php echo esc_attr( $username ); ?>" size="20" /> 31 31 </p> 32 32 <p class="login-password"> 33 <label for="user_pass"><?php _e( 'Password', 'wporg' ); ?></label>33 <label for="user_pass"><?php esc_html_e( 'Password', 'wporg' ); ?></label> 34 34 <span class="wp-pwd" style="display:block;"> 35 35 <input type="password" name="pwd" id="user_pass" class="input password-input" value="" size="20" /> … … 40 40 </p> 41 41 <?php do_action( 'login_form' ); ?> 42 <p class="login-remember"><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" /> <?php _e( 'Remember me', 'wporg' ); ?></label></p>42 <p class="login-remember"><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" /> <?php esc_html_e( 'Remember me', 'wporg' ); ?></label></p> 43 43 <p class="login-submit"> 44 44 <input type="submit" name="wp-submit" id="wp-submit" class="button button-primary" value="<?php esc_attr_e( 'Log In', 'wporg' ); ?>" /> … … 48 48 49 49 <p id="nav"> 50 <a href="<?php echo esc_url( wp_lostpassword_url() ); ?>" title="<?php _e( 'Lost your password?', 'wporg' ); ?>"><?php_e( 'Lost your password?', 'wporg' ); ?></a> • 51 <a href="<?php echo esc_url( wp_registration_url() ); ?>" title="<?php _e( 'Create an account', 'wporg' ); ?>"><?php_e( 'Create an account', 'wporg' ); ?></a>50 <a href="<?php echo esc_url( wp_lostpassword_url() ); ?>" title="<?php esc_attr_e( 'Lost your password?', 'wporg' ); ?>"><?php esc_html_e( 'Lost your password?', 'wporg' ); ?></a> • 51 <a href="<?php echo esc_url( wp_registration_url() ); ?>" title="<?php esc_attr_e( 'Create an account', 'wporg' ); ?>"><?php esc_html_e( 'Create an account', 'wporg' ); ?></a> 52 52 </p> 53 53 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/logout.php
r15170 r15179 16 16 get_header(); 17 17 ?> 18 <p class="intro"><?php _e( 'You are attempting to log out of WordPress.org.', 'wporg' ); ?></p>18 <p class="intro"><?php esc_html_e( 'You are attempting to log out of WordPress.org.', 'wporg' ); ?></p> 19 19 20 20 <?php … … 22 22 printf( 23 23 /* translators: %s: logout URL */ 24 __( 'Do you really want to <a href="%s">log out</a>?', 'wporg'),24 wp_kses_post( __( 'Do you really want to <a href="%s">log out</a>?', 'wporg' ) ), 25 25 esc_url( wp_logout_url( $redirect_to ) ) 26 26 ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/lostpassword.php
r14098 r15179 12 12 13 13 <form name="lostpasswordform" id="lostpasswordform" action="/wp-login.php?action=lostpassword" method="post"> 14 <p class="intro"><?php _e( 'Please enter your username or email address. You will receive a link to create a new password via email.', 'wporg' ); ?></p>14 <p class="intro"><?php esc_html_e( 'Please enter your username or email address. You will receive a link to create a new password via email.', 'wporg' ); ?></p> 15 15 <p> 16 <label for="user_login"><?php _e( 'Username or Email', 'wporg' ); ?>16 <label for="user_login"><?php esc_html_e( 'Username or Email', 'wporg' ); ?> 17 17 <input type="text" name="user_login" id="user_login" value="<?php echo esc_attr( $user ); ?>" size="20"></label> 18 18 </p> … … 24 24 </form> 25 25 <p id="nav"> 26 <a href="/"><?php _e( '← Back to login', 'wporg' ); ?></a>26 <a href="/"><?php esc_html_e( '← Back to login', 'wporg' ); ?></a> 27 27 </p> 28 28 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/partials/register-profilefields.php
r14123 r15179 21 21 ?> 22 22 <p class="login-website"> 23 <label for="user_website"><?php _e( 'Website', 'wporg' ); ?></label>23 <label for="user_website"><?php esc_html_e( 'Website', 'wporg' ); ?></label> 24 24 <input type="text" name="user_fields[url]" id="user_url" class="input" value="<?php echo esc_attr( $fields['url'] ?? '' ); ?>" size="20" placeholder="https://" data-pattern-after-blur="(https?:\/\/)?([a-zA-Z0-9\-]+\.\S+)?" /> 25 <span class="invalid-message"><?php _e( 'That URL appears to be invalid.', 'wporg' ); ?></span>25 <span class="invalid-message"><?php esc_html_e( 'That URL appears to be invalid.', 'wporg' ); ?></span> 26 26 </p> 27 27 28 28 <p class="login-location"> 29 <label for="user_location"><?php _e( 'Location', 'wporg' ); ?></label>29 <label for="user_location"><?php esc_html_e( 'Location', 'wporg' ); ?></label> 30 30 <input type="text" name="user_fields[from]" id="user_location" class="input" value="<?php echo esc_attr( $fields['from'] ?? '' ); ?>" size="20" /> 31 31 </p> 32 32 33 33 <p class="login-occupation"> 34 <label for="user_occupation"><?php _e( 'Occupation', 'wporg' ); ?></label>34 <label for="user_occupation"><?php esc_html_e( 'Occupation', 'wporg' ); ?></label> 35 35 <input type="text" name="user_fields[occ]" id="user_occupation" class="input" value="<?php echo esc_attr( $fields['occ'] ?? '' ); ?>" size="20" /> 36 36 </p> 37 37 38 38 <p class="login-interests"> 39 <label for="user_interests"><?php _e( 'Interests', 'wporg' ); ?></label>39 <label for="user_interests"><?php esc_html_e( 'Interests', 'wporg' ); ?></label> 40 40 <input type="text" name="user_fields[interests]" id="user_interests" class="input" value="<?php echo esc_attr( $fields['interests'] ?? '' ); ?>" size="20" /> 41 41 </p> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/pending-create.php
r15044 r15179 153 153 printf( 154 154 /* translators: %s Email address */ 155 __( 'Your account is pending approval. You will receive an email at %s to set your password when approved.', 'wporg' ) . '<br>' . 156 __( 'Please contact %s for more details.', 'wporg' ), 155 esc_html__( 'Your account is pending approval. You will receive an email at %s to set your password when approved.', 'wporg' ) . '<br>' . 156 /* translators: %s: Support email address. */ 157 esc_html__( 'Please contact %s for more details.', 'wporg' ), 157 158 '<code>' . esc_html( $pending_user['user_email'] ) . '</code>', 158 159 '<a href="mailto:' . $sso::SUPPORT_EMAIL . '">' . $sso::SUPPORT_EMAIL . '</a>' … … 163 164 164 165 <p class="intro"> 165 <?php _e( 'Set your password and complete your WordPress.org Profile information.', 'wporg' ); ?>166 <?php esc_html_e( 'Set your password and complete your WordPress.org Profile information.', 'wporg' ); ?> 166 167 </p> 167 168 168 169 <p class="login-login"> 169 <label for="user_login"><?php _e( 'Username', 'wporg' ); ?></label>170 <label for="user_login"><?php esc_html_e( 'Username', 'wporg' ); ?></label> 170 171 <input type="text" disabled="disabled" class="disabled" value="<?php echo esc_attr( $activation_user ); ?>" size="20" /> 171 172 </p> … … 173 174 <div class="user-pass1-wrap" <?php echo ( $pending_user['cleared'] ? '' : "style='display:none;'" ); ?>> 174 175 <p> 175 <label for="pass1"><?php _e( 'Password', 'wporg' ); ?></label>176 <label for="pass1"><?php esc_html_e( 'Password', 'wporg' ); ?></label> 176 177 </p> 177 178 … … 184 185 <span class="dashicons dashicons-hidden" aria-hidden="true"></span> 185 186 </button> 186 <div id="pass-strength-result" class="hide-if-no-js" aria-live="polite"><?php _e( 'Strength indicator', 'wporg' ); ?></div>187 <div id="pass-strength-result" class="hide-if-no-js" aria-live="polite"><?php esc_html_e( 'Strength indicator', 'wporg' ); ?></div> 187 188 </div> 188 189 </div> … … 195 196 <?php 196 197 if ( $error_recapcha_status ) { 197 echo '<div class="message error"><p>' . __( 'Please try again.', 'wporg' ) . '</p></div>';198 echo '<div class="message error"><p>' . esc_html__( 'Please try again.', 'wporg' ) . '</p></div>'; 198 199 } 199 200 ?> … … 206 207 207 208 <p id="nav"> 208 <a href="<?php echo wporg_login_wordpress_url(); ?>"><?php _e( 'WordPress.org', 'wporg' ); ?></a>209 <a href="<?php echo wporg_login_wordpress_url(); ?>"><?php esc_html_e( 'WordPress.org', 'wporg' ); ?></a> 209 210 </p> 210 211 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/pending-profile.php
r15012 r15179 67 67 if ( $pending_user['cleared'] ) { 68 68 printf( 69 '<h2>' . __( 'Confirm your email address', 'wporg' ) . '</h2>' .69 '<h2>' . esc_html__( 'Confirm your email address', 'wporg' ) . '</h2>' . 70 70 /* translators: %s Email address */ 71 '<p>' . __( 'Please check your email %s for a confirmation link to set your password.', 'wporg' ) . '</p>' .72 '<p> ' . '<a href="#" class="resend" data-account="%s">' .__( 'Resend confirmation email.', 'wporg' ) . '</a></p>' .73 ( $email_change_available ? '<a href="#" class="change-email">' . __( 'Incorrect email? Update email address.', 'wporg' ) . '</a>' : '' ),71 '<p>' . esc_html__( 'Please check your email %s for a confirmation link to set your password.', 'wporg' ) . '</p>' . 72 '<p><a href="#" class="resend" data-account="%s">' . esc_html__( 'Resend confirmation email.', 'wporg' ) . '</a></p>' . 73 ( $email_change_available ? '<a href="#" class="change-email">' . esc_html__( 'Incorrect email? Update email address.', 'wporg' ) . '</a>' : '' ), 74 74 '<code>' . esc_html( $pending_user['user_email'] ) . '</code>', 75 75 esc_attr( $pending_user['user_email'] ) … … 77 77 } else { 78 78 printf( 79 '<h2>' . __( 'Your account is pending approval', 'wporg' ) . '</h2>' .79 '<h2>' . esc_html__( 'Your account is pending approval', 'wporg' ) . '</h2>' . 80 80 /* translators: %s Email address */ 81 '<p>' . __( 'You will receive an email at %s to set your password when approved.', 'wporg' ) . '</p>' . 82 '<p>' . __( 'Please contact %s for more details.', 'wporg' ) . '</p>' . 83 ( $email_change_available ? '<a href="#" class="change-email">' . __( 'Incorrect email? Update email address.', 'wporg' ) . '</a>' : '' ), 81 '<p>' . esc_html__( 'You will receive an email at %s to set your password when approved.', 'wporg' ) . '</p>' . 82 /* translators: %s: Support email address. */ 83 '<p>' . esc_html__( 'Please contact %s for more details.', 'wporg' ) . '</p>' . 84 ( $email_change_available ? '<a href="#" class="change-email">' . esc_html__( 'Incorrect email? Update email address.', 'wporg' ) . '</a>' : '' ), 84 85 '<code>' . esc_html( $pending_user['user_email'] ) . '</code>', 85 86 '<a href="mailto:' . $sso::SUPPORT_EMAIL . '">' . $sso::SUPPORT_EMAIL . '</a>' … … 96 97 97 98 <p class="login-email hidden"> 98 <label for="user_email"><?php _e( 'Email', 'wporg' ); ?></label>99 <label for="user_email"><?php esc_html_e( 'Email', 'wporg' ); ?></label> 99 100 <input type="text" name="user_email" value="<?php echo esc_attr( $pending_user['user_email'] ); ?>" size="20" maxlength="100" /> 100 101 </p> … … 117 118 118 119 <p id="nav"> 119 <a href="<?php echo wporg_login_wordpress_url(); ?>"><?php _e( 'WordPress.org', 'wporg' ); ?></a>120 <a href="<?php echo wporg_login_wordpress_url(); ?>"><?php esc_html_e( 'WordPress.org', 'wporg' ); ?></a> 120 121 </p> 121 122 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/register.php
r14326 r15179 83 83 84 84 <?php if ( ! $user_registration_available ) : ?> 85 <p><?php printf( __( 'New user registration is currently unavailable. Please check back after the <a href="%s">holiday break</a>.', 'wporg' ), 'https://wordpress.org/news/2024/12/holiday-break/' ); ?></p> 85 <?php /* translators: %s: Holiday break announcement URL. */ ?> 86 <p><?php printf( wp_kses_post( __( 'New user registration is currently unavailable. Please check back after the <a href="%s">holiday break</a>.', 'wporg' ) ), 'https://wordpress.org/news/2024/12/holiday-break/' ); ?></p> 86 87 <?php else: ?> 87 88 88 <p class="intro"><?php _e( 'Create a WordPress.org account to start contributing to WordPress, get help in the support forums, or rate and review themes and plugins.', 'wporg' ); ?></p>89 <p class="intro"><?php esc_html_e( 'Create a WordPress.org account to start contributing to WordPress, get help in the support forums, or rate and review themes and plugins.', 'wporg' ); ?></p> 89 90 90 91 <form name="registerform" id="registerform" action="/register" method="post"> 91 92 92 93 <p class="login-username"> 93 <label for="user_login"><?php _e( 'Username', 'wporg' ); ?></label>94 <label for="user_login"><?php esc_html_e( 'Username', 'wporg' ); ?></label> 94 95 <input type="text" name="user_login" id="user_login" class="input <?php if ( $error_user_login ) echo 'error'; ?>" value="<?php echo esc_attr( $user_login ) ?>" size="20" maxlength="60" data-pattern-after-blur="[0-9a-z]{0,60}" required /> 95 <span class="small"><?php _e( 'Only lower case letters (a-z) and numbers (0-9) are allowed.', 'wporg' ); ?></span>96 <span class="small"><?php esc_html_e( 'Only lower case letters (a-z) and numbers (0-9) are allowed.', 'wporg' ); ?></span> 96 97 </p> 97 98 <?php … … 107 108 108 109 <p class="login-email"> 109 <label for="user_email"><?php _e( 'Email', 'wporg' ); ?></label>110 <label for="user_email"><?php esc_html_e( 'Email', 'wporg' ); ?></label> 110 111 <input type="email" name="user_email" id="user_email" class="input <?php if ( $error_user_email ) echo 'error'; ?>" value="<?php echo esc_attr( $user_email ) ?>" size="20" maxlength="100" data-pattern-after-blur=".+@.+\..+" required /> 111 <span class="small"><?php _e( 'A link to set your password will be sent here.', 'wporg' ); ?></span>112 <span class="small"><?php esc_html_e( 'A link to set your password will be sent here.', 'wporg' ); ?></span> 112 113 </p> 113 114 <?php … … 129 130 printf( 130 131 /* translators: %s: List of linked policies, for example: <a>Privacy Policy</a> and <a>Terms of Service</a> */ 131 _n( 'I have read and accept the %s', 'I have read and accept the %s', 1, 'wporg'),132 esc_html( _n( 'I have read and accept the %s', 'I have read and accept the %s', 1, 'wporg' ) ), 132 133 wp_sprintf_l( '%l', [ 133 134 "<a href='https://{$localised_domain}/about/privacy/'>" . __( 'Privacy Policy', 'wporg' ) . '</a>', … … 143 144 <label for="user_mailinglist"> 144 145 <input name="user_mailinglist" type="checkbox" id="user_mailinglist" value="true" <?php checked( $user_mailinglist, true ); ?>> 145 <?php _e( 'Subscribe to WordPress Announcements mailing list (a few messages a year)', 'wporg' ); ?>146 <?php esc_html_e( 'Subscribe to WordPress Announcements mailing list (a few messages a year)', 'wporg' ); ?> 146 147 </label> 147 148 </p> 148 149 <?php 149 150 if ( $error_recapcha_status ) { 150 echo '<div class="message error"><p>' . __( 'Please try again.', 'wporg' ) . '</p></div>';151 echo '<div class="message error"><p>' . esc_html__( 'Please try again.', 'wporg' ) . '</p></div>'; 151 152 } 152 153 ?> … … 161 162 162 163 <p id="nav"> 163 <a href="/" title="<?php esc_attr_e( 'Already have an account?', 'wporg' ); ?>"><?php _e( 'Already have an account?', 'wporg' ); ?></a> • 164 <a href="<?php echo wporg_login_wordpress_url(); ?>"><?php _e( 'WordPress.org', 'wporg' ); ?></a>164 <a href="/" title="<?php esc_attr_e( 'Already have an account?', 'wporg' ); ?>"><?php esc_html_e( 'Already have an account?', 'wporg' ); ?></a> • 165 <a href="<?php echo wporg_login_wordpress_url(); ?>"><?php esc_html_e( 'WordPress.org', 'wporg' ); ?></a> 165 166 </p> 166 167 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/updated-tos.php
r12429 r15179 59 59 60 60 <p> 61 <a href=" https://<?php echo $localised_domain; ?>/about/privacy/"><?php_e( 'Privacy Policy', 'wporg' ); ?></a>61 <a href="<?php echo esc_url( 'https://' . $localised_domain . '/about/privacy/' ); ?>"><?php esc_html_e( 'Privacy Policy', 'wporg' ); ?></a> 62 62 </p> 63 63 <?php /* ?> … … 85 85 86 86 <p id="nav"> 87 <a href="/"><?php _e( '← Back to login', 'wporg' ); ?></a> • 88 <a href="<?php echo wporg_login_wordpress_url(); ?>"><?php _e( 'WordPress.org', 'wporg' ); ?></a>87 <a href="/"><?php esc_html_e( '← Back to login', 'wporg' ); ?></a> • 88 <a href="<?php echo wporg_login_wordpress_url(); ?>"><?php esc_html_e( 'WordPress.org', 'wporg' ); ?></a> 89 89 </p> 90 90 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php
r15170 r15179 48 48 ?> 49 49 <aside id="download-mobile"> 50 <span class="download-ready"><?php _e( 'Ready to get started?', 'wporg' ); ?></span><a class="button download-button" href="/download/"><?php_e( 'Get WordPress', 'wporg' ); ?></a>50 <span class="download-ready"><?php esc_html_e( 'Ready to get started?', 'wporg' ); ?></span><a class="button download-button" href="/download/"><?php esc_html_e( 'Get WordPress', 'wporg' ); ?></a> 51 51 </aside> 52 52 … … 86 86 <header id="masthead" class="site-header" role="banner"> 87 87 <div class="site-branding"> 88 <p class="site-title"><?php _e( 'Meet WordPress', 'wporg' ); ?></p>89 90 <p class="site-description"><?php _e( 'WordPress is open source software you can use to create a beautiful website, blog, or app.', 'wporg' ); ?></p>88 <p class="site-title"><?php esc_html_e( 'Meet WordPress', 'wporg' ); ?></p> 89 90 <p class="site-description"><?php esc_html_e( 'WordPress is open source software you can use to create a beautiful website, blog, or app.', 'wporg' ); ?></p> 91 91 </div><!-- .site-branding --> 92 92 </header><!-- #masthead --> … … 97 97 98 98 <section class="intro"> 99 <p class="subheading"><?php _e( 'Beautiful designs, powerful features, and the freedom to build anything you want. WordPress is both free and priceless at the same time.', 'wporg' ); ?></p>99 <p class="subheading"><?php esc_html_e( 'Beautiful designs, powerful features, and the freedom to build anything you want. WordPress is both free and priceless at the same time.', 'wporg' ); ?></p> 100 100 <div class="screenshots"> 101 101 <img src="https://s.w.org/images/home/screen-themes.png?4" class="dashboard" /> … … 105 105 106 106 <section class="showcase"> 107 <h2><?php _e( 'Trusted by the Best', 'wporg' ); ?></h2>107 <h2><?php esc_html_e( 'Trusted by the Best', 'wporg' ); ?></h2> 108 108 <p class="subheading"> 109 109 <?php 110 110 printf( 111 111 /* translators: WordPress market share: 30 - Note: The following percent sign is '%%' for escaping purposes; */ 112 __( '%s%% of the web uses WordPress, from hobby blogs to the biggest news sites online.', 'wporg' ),112 esc_html__( '%s%% of the web uses WordPress, from hobby blogs to the biggest news sites online.', 'wporg' ), 113 113 number_format_i18n( WP_MARKET_SHARE ) 114 114 ); … … 118 118 119 119 </div> 120 <p class="cta-link"><a href="https://wordpress.org/showcase/"><?php _e( 'Discover more sites built with WordPress', 'wporg' ); ?></a></p>120 <p class="cta-link"><a href="https://wordpress.org/showcase/"><?php esc_html_e( 'Discover more sites built with WordPress', 'wporg' ); ?></a></p> 121 121 </section> 122 122 123 123 <section class="features"> 124 <h2><?php _e( 'Powerful Features', 'wporg' ); ?></h2>125 <p class="subheading"><?php _e( 'Limitless possibilities. What will you create?', 'wporg' ); ?></p>124 <h2><?php esc_html_e( 'Powerful Features', 'wporg' ); ?></h2> 125 <p class="subheading"><?php esc_html_e( 'Limitless possibilities. What will you create?', 'wporg' ); ?></p> 126 126 <ul> 127 127 <li> 128 128 <span class="dashicons dashicons-admin-customizer"></span> 129 <?php _e( 'Customizable<br />Designs', 'wporg'); ?>129 <?php echo wp_kses_post( __( 'Customizable<br />Designs', 'wporg' ) ); ?> 130 130 </li> 131 131 <li> 132 132 <span class="dashicons dashicons-welcome-widgets-menus"></span> 133 <?php _e( 'SEO<br />Friendly', 'wporg'); ?>133 <?php echo wp_kses_post( __( 'SEO<br />Friendly', 'wporg' ) ); ?> 134 134 </li> 135 135 <li> 136 136 <span class="dashicons dashicons-smartphone"></span> 137 <?php _e( 'Responsive<br />Mobile Sites', 'wporg'); ?>137 <?php echo wp_kses_post( __( 'Responsive<br />Mobile Sites', 'wporg' ) ); ?> 138 138 </li> 139 139 <li> 140 140 <span class="dashicons dashicons-chart-line"></span> 141 <?php _e( 'High<br />Performance', 'wporg'); ?>141 <?php echo wp_kses_post( __( 'High<br />Performance', 'wporg' ) ); ?> 142 142 </li> 143 143 <li> 144 144 <a href="https://wordpress.org/mobile/"><img src="https://s.w.org/images/home/icon-run-blue.svg" /> 145 <?php _e( 'Manage<br />on the Go', 'wporg'); ?></a>145 <?php echo wp_kses_post( __( 'Manage<br />on the Go', 'wporg' ) ); ?></a> 146 146 </li> 147 147 <li> 148 148 <span class="dashicons dashicons-lock"></span> 149 <?php _e( 'High<br />Security', 'wporg'); ?>149 <?php echo wp_kses_post( __( 'High<br />Security', 'wporg' ) ); ?> 150 150 </li> 151 151 <li> 152 152 <span class="dashicons dashicons-images-alt2"></span> 153 <?php _e( 'Powerful<br />Media Management', 'wporg'); ?>153 <?php echo wp_kses_post( __( 'Powerful<br />Media Management', 'wporg' ) ); ?> 154 154 </li> 155 155 <li> 156 156 <span class="dashicons dashicons-universal-access"></span> 157 <?php _e( 'Easy and<br />Accessible', 'wporg'); ?>157 <?php echo wp_kses_post( __( 'Easy and<br />Accessible', 'wporg' ) ); ?> 158 158 </li> 159 159 </ul> … … 162 162 $plugin_count = defined( 'WP_PLUGIN_COUNT' ) ? WP_PLUGIN_COUNT : 54000; 163 163 printf( 164 /* translators: 1: Rounded number of plugins. 2: Link to Plugin Directory. */ 165 _n( 166 'Extend WordPress with over %1$s plugin to help your website meet your needs. Add an online store, galleries, mailing lists, forums, analytics, and <a href="%2$s">much more</a>.', 167 'Extend WordPress with over %1$s plugins to help your website meet your needs. Add an online store, galleries, mailing lists, forums, analytics, and <a href="%2$s">much more</a>.', 168 $plugin_count, 169 'wporg' 164 wp_kses_post( 165 /* translators: 1: Rounded number of plugins. 2: Link to Plugin Directory. */ 166 _n( 167 'Extend WordPress with over %1$s plugin to help your website meet your needs. Add an online store, galleries, mailing lists, forums, analytics, and <a href="%2$s">much more</a>.', 168 'Extend WordPress with over %1$s plugins to help your website meet your needs. Add an online store, galleries, mailing lists, forums, analytics, and <a href="%2$s">much more</a>.', 169 $plugin_count, 170 'wporg' 171 ) 170 172 ), 171 173 esc_html( number_format_i18n( $plugin_count ) ), … … 179 181 <div class="screen"></div> 180 182 <div class="container"> 181 <h2><?php _e( 'Community', 'wporg' ); ?></h2>183 <h2><?php esc_html_e( 'Community', 'wporg' ); ?></h2> 182 184 <p class="subheading"> 183 185 <?php … … 185 187 186 188 printf( 187 /* translators: Number of meetups. */ 188 _n( 189 'Hundreds of thousands of developers, content creators, and site owners gather at monthly meetups in %s city worldwide.', 190 'Hundreds of thousands of developers, content creators, and site owners gather at monthly meetups in %s cities worldwide.', 191 $meetups, 192 'wporg' 189 esc_html( 190 /* translators: %s: Number of meetups. */ 191 _n( 192 'Hundreds of thousands of developers, content creators, and site owners gather at monthly meetups in %s city worldwide.', 193 'Hundreds of thousands of developers, content creators, and site owners gather at monthly meetups in %s cities worldwide.', 194 $meetups, 195 'wporg' 196 ) 193 197 ), 194 198 number_format_i18n( $meetups ) … … 196 200 ?> 197 201 </p> 198 <a class="button button-secondary button-large" href="https://make.wordpress.org/community/meetups-landing-page"><?php _e( 'Find a local WordPress community', 'wporg' ); ?></a>202 <a class="button button-secondary button-large" href="https://make.wordpress.org/community/meetups-landing-page"><?php esc_html_e( 'Find a local WordPress community', 'wporg' ); ?></a> 199 203 </div> 200 204 </section> 201 205 202 206 <section class="get"> 203 <h2><?php _e( 'Get Started with WordPress', 'wporg' ); ?></h2>204 <p class="subheading"><?php _e( 'Over 60 million people have chosen WordPress to power the place on the web they call “home” — join the family.', 'wporg' ); ?></p>207 <h2><?php esc_html_e( 'Get Started with WordPress', 'wporg' ); ?></h2> 208 <p class="subheading"><?php esc_html_e( 'Over 60 million people have chosen WordPress to power the place on the web they call “home” — join the family.', 'wporg' ); ?></p> 205 209 <div class="cta-wrapper"> 206 <a href="<?php echo esc_url( get_downloads_url() ); ?>" class="button button-primary button-xl"><?php _e( 'Get WordPress', 'wporg' ); ?></a>210 <a href="<?php echo esc_url( get_downloads_url() ); ?>" class="button button-primary button-xl"><?php esc_html_e( 'Get WordPress', 'wporg' ); ?></a> 207 211 </div> 208 212 </section> … … 232 236 '<h4><a href="%s">%s</a></h4>', 233 237 esc_url( $news_blog_url ), 234 __( 'News From Our Blog', 'wporg' )238 esc_html__( 'News From Our Blog', 'wporg' ) 235 239 ); 236 240 … … 256 260 257 261 <div class="col-4"> 258 <h4><?php _e( 'It’s Easy As…', 'wporg' ); ?></h4>262 <h4><?php esc_html_e( 'It’s Easy As…', 'wporg' ); ?></h4> 259 263 260 264 <ol class="steps"> … … 264 268 printf( 265 269 /* translators: URL to Hosting page. */ 266 __( '<a href="%s">Find a trusted web host</a> and maybe support WordPress at the same time.', 'wporg'),270 wp_kses_post( __( '<a href="%s">Find a trusted web host</a> and maybe support WordPress at the same time.', 'wporg' ) ), 267 271 esc_url( 'https://wordpress.org/hosting/' ) 268 272 ); … … 274 278 printf( 275 279 /* translators: URL to Downloads page. */ 276 __( '<a href="%s">Download & install WordPress</a> with our famous 5-minute installation. Publishing has never been easier.', 'wporg'),280 wp_kses_post( __( '<a href="%s">Download & install WordPress</a> with our famous 5-minute installation. Publishing has never been easier.', 'wporg' ) ), 277 281 esc_url( get_downloads_url() ) 278 282 ); … … 284 288 printf( 285 289 /* translators: URL to HelpHub. */ 286 __( '<a href="%s">Spend some time reading our documentation</a>, get to know WordPress better every day and start helping others, too.', 'wporg'),290 wp_kses_post( __( '<a href="%s">Spend some time reading our documentation</a>, get to know WordPress better every day and start helping others, too.', 'wporg' ) ), 287 291 esc_url( __( 'https://wordpress.org/support/', 'wporg' ) ) 288 292 ); … … 293 297 294 298 <div class="<?php echo esc_attr( $swag_class ); ?> first"> 295 <h4><a href="https://mercantile.wordpress.org/"><?php _e( 'WordPress Swag', 'wporg' ); ?></a></h4>299 <h4><a href="https://mercantile.wordpress.org/"><?php esc_html_e( 'WordPress Swag', 'wporg' ); ?></a></h4> 296 300 <a href="https://mercantile.wordpress.org/"> 297 301 <?php if ( $showcase ) : ?> … … 304 308 305 309 <div class="<?php echo esc_attr( $user_class ); ?>"> 306 <h4><a href="https://wordpress.org/showcase/"><?php _e( 'WordPress Users', 'wporg' ); ?></a></h4>310 <h4><a href="https://wordpress.org/showcase/"><?php esc_html_e( 'WordPress Users', 'wporg' ); ?></a></h4> 307 311 308 312 <?php if ( $showcase ) : ?> … … 347 351 <?php endif; ?> 348 352 349 <a class="showcase-link" href="https://wordpress.org/showcase/"><?php _e( '… and hundreds more', 'wporg' ); ?></a>353 <a class="showcase-link" href="https://wordpress.org/showcase/"><?php esc_html_e( '… and hundreds more', 'wporg' ); ?></a> 350 354 </div> 351 355 </div> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-download-beta-nightly.php
r10433 r15179 64 64 printf( 65 65 /* translators: %s Link to https://wordpress.org/download/releases/#betas */ 66 __( 'You can find the latest beta releases on the <a href="%s">Beta Releases</a> page.', 'wporg'),66 wp_kses_post( __( 'You can find the latest beta releases on the <a href="%s">Beta Releases</a> page.', 'wporg' ) ), 67 67 'https://wordpress.org/download/releases/#betas' 68 68 ); … … 87 87 printf( 88 88 /* translators: %s Link to the latest nightly release ZIP. */ 89 __( 'You can download the latest nightly release here: <a href="%s">wordpress-latest.zip</a>.', 'wporg'),89 wp_kses_post( __( 'You can download the latest nightly release here: <a href="%s">wordpress-latest.zip</a>.', 'wporg' ) ), 90 90 'https://wordpress.org/nightly-builds/wordpress-latest.zip' 91 91 ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-download.php
r11866 r15179 285 285 <?php 286 286 printf( 287 __( 'For help getting started, check out our <a href="%s">Documentation and Support Forums</a>.', 'wporg' ), 287 /* translators: %s: Support URL. */ 288 wp_kses_post( __( 'For help getting started, check out our <a href="%s">Documentation and Support Forums</a>.', 'wporg' ) ), 288 289 esc_url( __( 'https://wordpress.org/support/', 'wporg' ) ) 289 290 ); … … 294 295 printf( 295 296 /* translators: 1: URL to WordPress Meetup group, 2: URL to WordCamp Central */ 296 __( 'Meet other WordPress enthusiasts and share your knowledge at a <a href="%1$s">WordPress meetup group</a> or a <a href="%2$s">WordCamp</a>.', 'wporg'),297 wp_kses_post( __( 'Meet other WordPress enthusiasts and share your knowledge at a <a href="%1$s">WordPress meetup group</a> or a <a href="%2$s">WordCamp</a>.', 'wporg' ) ), 297 298 esc_url( __( 'https://www.meetup.com/pro/wordpress/', 'wporg' ) ), 298 299 esc_url( __( 'https://central.wordcamp.org/', 'wporg' ) ) … … 303 304 <?php 304 305 printf( 305 __( 'To support education about WordPress and open source software, please donate to the <a href="%s">WordPress Foundation</a>.', 'wporg' ), 306 /* translators: %s: Donation URL. */ 307 wp_kses_post( __( 'To support education about WordPress and open source software, please donate to the <a href="%s">WordPress Foundation</a>.', 'wporg' ) ), 306 308 esc_url( __( 'https://wordpressfoundation.org/donate/', 'wporg' ) ) 307 309 ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/inc/template-tags.php
r15153 r15179 440 440 echo '<p class="wp-block-button is-small">'; 441 441 echo '<button class="wp-block-button__link" type="submit">' . esc_html__( 'Save', 'wporg-plugins' ) . '</button>'; 442 echo '<span class="success-msg">' . __( 'Saved!', 'wporg-plugins' ) . '</span>';442 echo '<span class="success-msg">' . esc_html__( 'Saved!', 'wporg-plugins' ) . '</span>'; 443 443 echo '</p>'; 444 444 echo '</form>'; … … 486 486 echo '<p class="wp-block-button is-small">'; 487 487 echo '<button class="wp-block-button__link" type="submit">' . esc_attr__( 'Save', 'wporg-plugins' ) . '</button>'; 488 echo '<span class="success-msg">' . __( 'Saved!', 'wporg-plugins' ) . '</span>';488 echo '<span class="success-msg">' . esc_html__( 'Saved!', 'wporg-plugins' ) . '</span>'; 489 489 echo '</p>'; 490 490 echo '</form>'; … … 551 551 if ( $active_installs >= 20000 ) { 552 552 // Translators: %s is the plugin team email address. 553 printf( __( '<strong>Notice:</strong> Due to the high volume of users for this plugin it cannot be closed without speaking directly to the plugins team. Please contact <a href="mailto:%1$s">%1$s</a> with a link to the plugin and explanation as to why it should be closed.', 'wporg-plugins'), 'plugins@wordpress.org' );553 printf( wp_kses_post( __( '<strong>Notice:</strong> Due to the high volume of users for this plugin it cannot be closed without speaking directly to the plugins team. Please contact <a href="mailto:%1$s">%1$s</a> with a link to the plugin and explanation as to why it should be closed.', 'wporg-plugins' ) ), 'plugins@wordpress.org' ); 554 554 } else { 555 555 $close_link = Template::get_self_close_link( $post ); 556 _e( '<strong>Warning:</strong> Closing a plugin is intended to be a <em>permanent</em> action. There is no way to reopen a plugin without contacting the plugins team.', 'wporg-plugins');556 echo wp_kses_post( __( '<strong>Warning:</strong> Closing a plugin is intended to be a <em>permanent</em> action. There is no way to reopen a plugin without contacting the plugins team.', 'wporg-plugins' ) ); 557 557 } 558 558 echo '</p></div>'; … … 568 568 <dialog> 569 569 <a onclick="this.parentNode.close()" class="close dashicons dashicons-no-alt"></a> 570 <strong><?php _e( 'Close your plugin?', 'wporg-plugins' ); ?></strong>570 <strong><?php esc_html_e( 'Close your plugin?', 'wporg-plugins' ); ?></strong> 571 571 <div class="notice notice-warning notice-alt"><p> 572 <?php _e( '<strong>Warning:</strong> Closing a plugin is intended to be a <em>permanent</em> action. There is no way to reopen a plugin without contacting the plugins team.', 'wporg-plugins'); ?>572 <?php echo wp_kses_post( __( '<strong>Warning:</strong> Closing a plugin is intended to be a <em>permanent</em> action. There is no way to reopen a plugin without contacting the plugins team.', 'wporg-plugins' ) ); ?> 573 573 </p></div> 574 574 … … 579 579 <?php printf( 580 580 /* translators: %s: The plugin name. */ 581 __( 'Yes, I wish to close %s.', 'wporg-plugins' ),581 esc_html__( 'Yes, I wish to close %s.', 'wporg-plugins' ), 582 582 '<code>' . get_the_title() . '</code>' 583 583 ); ?> … … 587 587 <label> 588 588 <input type="checkbox" name="confirm" required /> 589 <?php _e( 'Yes, I understand that this is permanent.', 'wporg-plugins' ); ?>589 <?php esc_html_e( 'Yes, I understand that this is permanent.', 'wporg-plugins' ); ?> 590 590 </label> 591 591 </p> … … 593 593 <label> 594 594 <input type="checkbox" name="confirm" required /> 595 <?php _e( 'I am not working on a newer version to submit to the plugin directory.', 'wporg-plugins' ); ?>595 <?php esc_html_e( 'I am not working on a newer version to submit to the plugin directory.', 'wporg-plugins' ); ?> 596 596 </label> 597 597 </p> … … 600 600 <?php printf( 601 601 /* translators: %s: The plugin slug. */ 602 __( 'Please enter the plugin slug %s below.', 'wporg-plugins' ),602 esc_html__( 'Please enter the plugin slug %s below.', 'wporg-plugins' ), 603 603 '<code>' . esc_html( $post->post_name ) . '</code>' 604 604 ); ?><br> … … 607 607 </p> 608 608 <p> 609 <?php printf( __( 'If you have any questions, please contact <a href="mailto:%1$s">%1$s</a> before proceeding with a link to your plugin and your questions.', 'wporg-plugins' ), 'plugins@wordpress.org' ); ?> 609 <?php /* translators: %1$s: Plugins team email address. */ ?> 610 <?php printf( wp_kses_post( __( 'If you have any questions, please contact <a href="mailto:%1$s">%1$s</a> before proceeding with a link to your plugin and your questions.', 'wporg-plugins' ) ), 'plugins@wordpress.org' ); ?> 610 611 <p class="wp-block-button is-small"> 611 612 <input class="wp-block-button__link" type="submit" value="<?php echo esc_attr( $close_button_text ); ?>" /> … … 639 640 if ( !isset( $blueprints[ 'blueprint.json' ] ) ) { 640 641 echo '<div class="plugin-notice notice notice-error notice-alt"><p>'; 641 _e( '<strong>Note:</strong> Missing or invalid blueprint.json file.', 'wporg-plugins');642 echo wp_kses_post( __( '<strong>Note:</strong> Missing or invalid blueprint.json file.', 'wporg-plugins' ) ); 642 643 echo '</p></div>'; 643 644 } elseif ( $toggle_link ) { … … 645 646 echo '<div class="plugin-notice notice notice-warning notice-alt"><p>'; 646 647 if ( 'enabled' === $preview_status ) { 647 _e( 'This will disable the Preview button for public users.', 'wporg-plugins' );648 esc_html_e( 'This will disable the Preview button for public users.', 'wporg-plugins' ); 648 649 } else { 649 _e( 'This will enable the Preview button for public users.', 'wporg-plugins' );650 esc_html_e( 'This will enable the Preview button for public users.', 'wporg-plugins' ); 650 651 } 651 652 … … 684 685 echo '<p>' . esc_html__( 'You are the current owner of this plugin. You may transfer those rights to another person at any time, provided they have commit access to this plugin.', 'wporg-plugins' ) . '</p>'; 685 686 686 echo '<div class="plugin-notice notice notice-warning notice-alt"><p>' . __( '<strong>Warning:</strong> Transferring a plugin is intended to be <em>permanent</em>. There is no way to get plugin ownership back without contacting the plugin team.', 'wporg-plugins') . '</p></div>';687 echo '<div class="plugin-notice notice notice-warning notice-alt"><p>' . wp_kses_post( __( '<strong>Warning:</strong> Transferring a plugin is intended to be <em>permanent</em>. There is no way to get plugin ownership back without contacting the plugin team.', 'wporg-plugins' ) ) . '</p></div>'; 687 688 688 689 $disabled_users = []; … … 700 701 } 701 702 if ( ! $users ) { 702 echo '<div class="plugin-notice notice notice-error notice-alt"><p>' . __( 'To transfer a plugin, you must first add the new owner as a committer.', 'wporg-plugins' ) . '</p></div>';703 echo '<div class="plugin-notice notice notice-error notice-alt"><p>' . esc_html__( 'To transfer a plugin, you must first add the new owner as a committer.', 'wporg-plugins' ) . '</p></div>'; 703 704 return; 704 705 } … … 706 707 // Users must have 2FA enabled to be able to transfer a plugin. 707 708 if ( $disabled_users ) { 708 echo '<div class="plugin-notice notice notice-info notice-alt"><p>' . __( 'Only users with Two-Factor authentication enabled can be selected.', 'wporg-plugins' ) . '</p></div>';709 echo '<div class="plugin-notice notice notice-info notice-alt"><p>' . esc_html__( 'Only users with Two-Factor authentication enabled can be selected.', 'wporg-plugins' ) . '</p></div>'; 709 710 } 710 711 … … 740 741 echo '<h4>' . esc_html__( 'Release Confirmation', 'wporg-plugins' ) . '</h4>'; 741 742 if ( $confirmations_required ) { 742 echo '<p>' . __( 'Release confirmations for this plugin are <strong>enabled</strong>.', 'wporg-plugins') . '</p>';743 echo '<p>' . wp_kses_post( __( 'Release confirmations for this plugin are <strong>enabled</strong>.', 'wporg-plugins' ) ) . '</p>'; 743 744 } else { 744 echo '<p>' . __( 'Release confirmations for this plugin are <strong>disabled</strong>', 'wporg-plugins') . '</p>';745 echo '<p>' . wp_kses_post( __( 'Release confirmations for this plugin are <strong>disabled</strong>', 'wporg-plugins' ) ) . '</p>'; 745 746 } 746 747 echo '<p>' . esc_html__( 'All future releases will require email confirmation before being made available. This increases security and ensures that plugin releases are only made when intended.', 'wporg-plugins' ) . '</p>'; … … 748 749 if ( ! $confirmations_required && 'trunk' === $post->stable_tag ) { 749 750 echo '<div class="plugin-notice notice notice-warning notice-alt"><p>'; 750 _e( "Release confirmations currently require tagged releases, as you're releasing from trunk they cannot be enabled.", 'wporg-plugins' );751 esc_html_e( 'Release confirmations currently require tagged releases, as you’re releasing from trunk they cannot be enabled.', 'wporg-plugins' ); 751 752 echo '</p></div>'; 752 753 753 754 } else if ( ! $confirmations_required ) { 754 755 echo '<div class="plugin-notice notice notice-warning notice-alt"><p>'; 755 _e( '<strong>Warning:</strong> Enabling release confirmations is intended to be a <em>permanent</em> action. There is no way to disable this without contacting the plugins team.', 'wporg-plugins');756 echo wp_kses_post( __( '<strong>Warning:</strong> Enabling release confirmations is intended to be a <em>permanent</em> action. There is no way to disable this without contacting the plugins team.', 'wporg-plugins' ) ); 756 757 echo '</p></div>'; 757 758 … … 762 763 } else { 763 764 /* translators: 1: plugins@wordpress.org */ 764 echo '<p>' . sprintf( __( 'To disable release confirmations, please contact the plugins team by emailing %s.', 'wporg-plugins' ), 'plugins@wordpress.org' ) . '</p>';765 echo '<p>' . sprintf( esc_html__( 'To disable release confirmations, please contact the plugins team by emailing %s.', 'wporg-plugins' ), 'plugins@wordpress.org' ) . '</p>'; 765 766 } 766 767 } … … 782 783 '<div class="notice notice-alt notice-%s">%s</div>', 783 784 esc_attr( $notice['type'] ), 784 '<p><strong>' . __( 'A note from the Plugins Team, visible only to the plugin author & committers.', 'wporg-plugins' ) . '</strong></p>' .785 '<p><strong>' . esc_html__( 'A note from the Plugins Team, visible only to the plugin author & committers.', 'wporg-plugins' ) . '</strong></p>' . 785 786 wp_kses_post( $notice['html'] ) // Should have wrapping <p> tags. 786 787 ); … … 803 804 printf( 804 805 '<div class="notice notice-error notice-alt">%s</div>', 805 '<p><strong>' . __( 'During the last import of your plugin the following warnings were encountered. This message is visible only to the plugin authors & committers.', 'wporg-plugins' ) . '</strong></p>' .806 '<p><strong>' . esc_html__( 'During the last import of your plugin the following warnings were encountered. This message is visible only to the plugin authors & committers.', 'wporg-plugins' ) . '</strong></p>' . 806 807 wp_kses_post( $import_warnings ) 807 808 ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/patterns/page-add.php
r14974 r15179 59 59 <?php 60 60 printf( 61 __( 'Your plugin review cannot be prioritized over others, to help us approve your plugin sooner, please ensure that you have read the <a href="%s">Security chapter</a> of the Plugin Handbook.', 'wporg-plugins' ), 61 /* translators: %s: Security handbook URL. */ 62 wp_kses_post( __( 'Your plugin review cannot be prioritized over others, to help us approve your plugin sooner, please ensure that you have read the <a href="%s">Security chapter</a> of the Plugin Handbook.', 'wporg-plugins' ) ), 62 63 'https://developer.wordpress.org/apis/security/' 63 64 ); … … 71 72 <li><?php printf( wp_kses_post( __( 'The plugin does not comply with the guidelines: <a href="%s">Check out the guidelines</a>', 'wporg-plugins' ) ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/' ) ); ?></li> 72 73 </ul> 73 <p><?php _e( 'If the code in your plugin falls into one of the above categories, <strong>your plugin will not be approved</strong>. The Plugins Team will refer you back to these Handbook pages, adding further delay to the review process.', 'wporg-plugins'); ?></p>74 <p><?php echo wp_kses_post( __( 'If the code in your plugin falls into one of the above categories, <strong>your plugin will not be approved</strong>. The Plugins Team will refer you back to these Handbook pages, adding further delay to the review process.', 'wporg-plugins' ) ); ?></p> 74 75 75 76 <h3><?php esc_html_e( 'What will my plugin URL be?', 'wporg-plugins' ); ?></h3> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/404.php
r15117 r15179 14 14 <div class="col-5"> 15 15 <div class="storycontent"> 16 <h2><?php _e( 'Page Not Found', 'wporg-showcase' ); ?></h2>17 <p><?php _e( 'Sorry, we could not not find that site in the Showcase. We do have many others available though. Here’s one chosen at random!', 'wporg-showcase' ); ?></p>16 <h2><?php esc_html_e( 'Page Not Found', 'wporg-showcase' ); ?></h2> 17 <p><?php esc_html_e( 'Sorry, we could not not find that site in the Showcase. We do have many others available though. Here’s one chosen at random!', 'wporg-showcase' ); ?></p> 18 18 <?php //breadcrumb(); ?> 19 19 <h2><?php the_title(); ?></h2> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/archive.php
r9933 r15179 34 34 <?php else : // have_posts ?> 35 35 36 <p><?php _e( 'Sorry, no sites in the Showcase matched your criteria.', 'wporg-showcase' ); ?></p>36 <p><?php esc_html_e( 'Sorry, no sites in the Showcase matched your criteria.', 'wporg-showcase' ); ?></p> 37 37 38 38 <?php endif; ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/comments.php
r2379 r15179 1 1 <?php if ( !empty($post->post_password) && $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) : ?> 2 <p><?php _e( 'Enter your password to view comments.', 'wporg-showcase' ); ?></p>2 <p><?php esc_html_e( 'Enter your password to view comments.', 'wporg-showcase' ); ?></p> 3 3 <?php return; endif; ?> 4 4 … … 16 16 <p><cite><?php printf( 17 17 /* translators: 1: comment type, 2: comment author link, 3: comment date */ 18 __( '%1$s from %2$s on %3$s', 'wporg-showcase' ),18 esc_html__( '%1$s from %2$s on %3$s', 'wporg-showcase' ), 19 19 comment_type( __( 'Comment', 'wporg-showcase' ), __( 'Trackback', 'wporg-showcase' ), __( 'Pingback', 'wporg-showcase' ) ), 20 20 comment_author_link(), -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/functions.php
r15170 r15179 107 107 global $post; 108 108 109 echo '<h2 class="heading">' . __( 'Flavor', 'wporg-showcase' ). '</h2>';109 echo '<h2 class="heading">' . esc_html__( 'Flavor', 'wporg-showcase' ) . '</h2>'; 110 110 echo '<ul id="flavors">'; 111 111 … … 189 189 <?php 190 190 /* translators: %s: search query */ 191 printf( __( '» Search for: %s', 'wporg-showcase' ), get_search_query() );191 printf( esc_html__( '» Search for: %s', 'wporg-showcase' ), get_search_query() ); 192 192 ?> 193 193 <?php elseif ( strstr( $_SERVER['REQUEST_URI'], '/showcase/archives' ) ) : ?> 194 <?php _e( '» Archives', 'wporg-showcase' ); ?>194 <?php esc_html_e( '» Archives', 'wporg-showcase' ); ?> 195 195 <?php else : ?> 196 196 <?php if ( is_category() ) : ?> 197 <?php _e( '» Flavor', 'wporg-showcase' ); ?>197 <?php esc_html_e( '» Flavor', 'wporg-showcase' ); ?> 198 198 <?php elseif ( is_tag() ) : ?> 199 <?php _e( '» Tag', 'wporg-showcase' ); ?>199 <?php esc_html_e( '» Tag', 'wporg-showcase' ); ?> 200 200 <?php endif; // is_category ?> 201 201 202 202 <?php 203 203 /* translators: %s: document title */ 204 printf( __( '» %s', 'wporg-showcase' ), wp_get_document_title() );204 printf( esc_html__( '» %s', 'wporg-showcase' ), esc_html( wp_get_document_title() ) ); 205 205 ?> 206 206 <?php endif; // is_search ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/index.php
r9933 r15179 27 27 <?php else : // have_posts ?> 28 28 29 <p><?php _e( 'Sorry, no sites in the Showcase matched your criteria.', 'wporg-showcase' ); ?></p>29 <p><?php esc_html_e( 'Sorry, no sites in the Showcase matched your criteria.', 'wporg-showcase' ); ?></p> 30 30 31 31 <?php endif; ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-home.php
r15170 r15179 14 14 ?> 15 15 <div id="pagebody" class="home"> 16 <h2 class="screen-reader-text"><?php _e( 'Featured Sites', 'wporg-showcase' ); ?></h2>16 <h2 class="screen-reader-text"><?php esc_html_e( 'Featured Sites', 'wporg-showcase' ); ?></h2> 17 17 <?php query_posts( array( 'cat' => 4, 'posts_per_page' => 9, 'post_status' => 'publish' ) ); ?> 18 18 <?php if ( have_posts() ) : ?> … … 38 38 <a href="<?php echo esc_url( $wpsc_url ); ?>" class="wpsc-linkout"> 39 39 <?php echo esc_html( str_replace( parse_url( $wpsc_url, PHP_URL_SCHEME ) . '://', '', untrailingslashit( $wpsc_url ) ) ); ?> 40 <span class="linkout-symbol"><?php _ex( '➲', 'linkout symbol', 'wporg-showcase' ); ?></span>40 <span class="linkout-symbol"><?php echo esc_html_x( '➲', 'linkout symbol', 'wporg-showcase' ); ?></span> 41 41 </a> 42 42 <?php endif; // $wpsc_url ?> … … 47 47 ?> 48 48 <a class="wpsc-hero-learnmore" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"> 49 <?php _e( 'Learn More →', 'wporg-showcase' ); ?>49 <?php esc_html_e( 'Learn More →', 'wporg-showcase' ); ?> 50 50 </a> 51 51 </div> … … 70 70 <?php query_posts( array( 'cat' => 4, 'posts_per_page' => 3, 'tag' => 'business', 'orderby' => 'rand' ) ); ?> 71 71 <?php if ( have_posts() ) : ?> 72 <h2><?php _e( 'Featured Business Sites', 'wporg-showcase' ); ?></h2>72 <h2><?php esc_html_e( 'Featured Business Sites', 'wporg-showcase' ); ?></h2> 73 73 <ul class="wpsc-recent"> 74 74 … … 93 93 <?php if ( have_posts() ) : ?> 94 94 95 <h2><?php _e( 'Recently Added Sites', 'wporg-showcase' ); ?></h2>95 <h2><?php esc_html_e( 'Recently Added Sites', 'wporg-showcase' ); ?></h2> 96 96 <ul class="wpsc-recent"> 97 97 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-submit.php
r15170 r15179 28 28 <?php if ( $_POST && ! $error ) : ?> 29 29 <div id="return"> 30 <h3><?php _e( 'Submitted!', 'wporg-showcase' ); ?></h3>30 <h3><?php esc_html_e( 'Submitted!', 'wporg-showcase' ); ?></h3> 31 31 <p><?php printf( 32 32 /* translators: %s: URL of the site submission form */ 33 __( 'Thanks! You have successfully submitted a site for consideration to be added to the WordPress Showcase. If the site you submitted is added, you will be contacted via email within one week. We appreciate your interest in the WordPress Showcase! If you\'d like to submit another site, head back to the <a href="%s">submission form</a>.', 'wporg-showcase'),33 wp_kses_post( __( 'Thanks! You have successfully submitted a site for consideration to be added to the WordPress Showcase. If the site you submitted is added, you will be contacted via email within one week. We appreciate your interest in the WordPress Showcase! If you’d like to submit another site, head back to the <a href="%s">submission form</a>.', 'wporg-showcase' ) ), 34 34 'https://wordpress.org/showcase/submit-a-wordpress-site/' 35 35 ); ?></p> … … 55 55 56 56 <?php if ( $error ) : ?> 57 <h3 id="return"><?php _e( 'Whoops!', 'wporg-showcase' ); ?></h3>57 <h3 id="return"><?php esc_html_e( 'Whoops!', 'wporg-showcase' ); ?></h3> 58 58 59 59 <?php if ( strstr( $url, 'blogspot.com' ) || strstr( $url, 'blogger.com' ) ) : ?> 60 <p><?php _e( 'Please submit a WordPress blog URL. Blogspot/Blogger blogs are not accepted.', 'wporg-showcase' ); ?></p>60 <p><?php esc_html_e( 'Please submit a WordPress blog URL. Blogspot/Blogger blogs are not accepted.', 'wporg-showcase' ); ?></p> 61 61 62 62 <?php elseif ( $site_detected == "NO" ) : ?> 63 <p><?php _e( 'We didn\'t detect WordPress at the given URL. Please submit the URL of a site running WordPress.', 'wporg-showcase' ); ?></p>63 <p><?php esc_html_e( 'We didn’t detect WordPress at the given URL. Please submit the URL of a site running WordPress.', 'wporg-showcase' ); ?></p> 64 64 65 65 <?php elseif ( $site_detected == "YES" && version_compare($site_version, $latest_release, '<' ) ) : ?> 66 <p><?php _e( 'We were unable to detect the latest version of WordPress at the given URL. We\'d prefer submissions to the showcase to be running up-to-date versions of WordPress.', 'wporg-showcase' ); ?></p>67 <p><?php _e( 'If you\'re sure the site is running the latest version of WordPress, then please check the URL to make sure it\'s accurate, and that the URL you submit points directly to the location where WordPress is running.', 'wporg-showcase' ); ?></p>66 <p><?php esc_html_e( 'We were unable to detect the latest version of WordPress at the given URL. We’d prefer submissions to the showcase to be running up-to-date versions of WordPress.', 'wporg-showcase' ); ?></p> 67 <p><?php esc_html_e( 'If you’re sure the site is running the latest version of WordPress, then please check the URL to make sure it’s accurate, and that the URL you submit points directly to the location where WordPress is running.', 'wporg-showcase' ); ?></p> 68 68 69 69 <?php else : ?> 70 <p><?php _e( 'There seems to have been a problem with the information you entered. Please make sure all fields have data and resubmit.', 'wporg-showcase' ); ?></p>70 <p><?php esc_html_e( 'There seems to have been a problem with the information you entered. Please make sure all fields have data and resubmit.', 'wporg-showcase' ); ?></p> 71 71 72 72 <?php endif; ?> … … 77 77 <input type="hidden" name="comment_post_ID" value="<?php echo $post->ID; ?>" /> 78 78 79 <p><label for="submitname"><?php _e( 'Your Name', 'wporg-showcase' ); ?></label><br />79 <p><label for="submitname"><?php esc_html_e( 'Your Name', 'wporg-showcase' ); ?></label><br /> 80 80 <input type="text" name="submitname" id="submitname" class="text" value="<?php echo esc_attr( $submitname ); ?>" size="28" tabindex="2" required></p> 81 81 82 <p><label for="email"><?php _e( 'Your E-mail', 'wporg-showcase'); ?></label><br />82 <p><label for="email"><?php esc_html_e( 'Your E-mail', 'wporg-showcase' ); ?></label><br /> 83 83 <input type="email" name="email" id="email" value="<?php echo esc_attr( $email ); ?>" size="28" tabindex="3" class="text" required></p> 84 84 85 <p><label for="url"><?php _e( 'Site URL', 'wporg-showcase' ); ?></label><br />85 <p><label for="url"><?php esc_html_e( 'Site URL', 'wporg-showcase' ); ?></label><br /> 86 86 <input type="url" name="url" id="url" value="<?php echo esc_url( $url ); ?>" size="28" tabindex="4" class="text" required></p> 87 87 88 <p><label for="owner"><?php _e( "Do you own this site? (It's okay if you don't - we just want to know for contact purposes.)", 'wporg-showcase' ); ?></label><br />88 <p><label for="owner"><?php esc_html_e( 'Do you own this site? (It’s okay if you don’t - we just want to know for contact purposes.)', 'wporg-showcase' ); ?></label><br /> 89 89 <select name="owner" id="owner" tabindex="5"> 90 <option value="yes" <?php selected( $owner, 'yes' ); ?> ><?php _e( 'Yes', 'wporg-showcase' ); ?></option>91 <option value="no" <?php selected( $owner, 'no' ); ?> ><?php _e( 'No', 'wporg-showcase' ); ?></option>90 <option value="yes" <?php selected( $owner, 'yes' ); ?> ><?php esc_html_e( 'Yes', 'wporg-showcase' ); ?></option> 91 <option value="no" <?php selected( $owner, 'no' ); ?> ><?php esc_html_e( 'No', 'wporg-showcase' ); ?></option> 92 92 </select> 93 93 94 <p><label for="description"><?php _e( 'Please describe the site and, if applicable, the person or organization it represents.', 'wporg-showcase' ); ?></label><br />94 <p><label for="description"><?php esc_html_e( 'Please describe the site and, if applicable, the person or organization it represents.', 'wporg-showcase' ); ?></label><br /> 95 95 <textarea name="description" id="description" cols="60" rows="4" tabindex="6" class="text" required><?php echo esc_textarea( $description ); ?></textarea></p> 96 96 97 <p><label for="why"><?php _e( 'What justifies this site being added to the WordPress Showcase? What makes it unique or interesting?', 'wporg-showcase' ); ?></label><br />97 <p><label for="why"><?php esc_html_e( 'What justifies this site being added to the WordPress Showcase? What makes it unique or interesting?', 'wporg-showcase' ); ?></label><br /> 98 98 <textarea name="why" id="why" cols="60" rows="4" tabindex="7" class="text" required><?php echo esc_textarea( $why ); ?></textarea></p> 99 99 100 <p class="required"><?php _e( '* All fields are required.', 'wporg-showcase' ); ?></p>100 <p class="required"><?php esc_html_e( '* All fields are required.', 'wporg-showcase' ); ?></p> 101 101 102 102 <?php -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/sidebar-left.php
r15170 r15179 10 10 <a href="<?php echo esc_url( home_url( '/submit-a-wordpress-site/' ) ); ?>" class="wpsc-submit-site"><?php esc_html_e( 'Submit a Site →', 'wporg-showcase' ); ?></a> 11 11 12 <h2 class="heading search"><?php _e( 'Search', 'wporg-showcase' ); ?></h2>12 <h2 class="heading search"><?php esc_html_e( 'Search', 'wporg-showcase' ); ?></h2> 13 13 <?php // @todo: use get_search_form(); ?> 14 14 <form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>"> … … 20 20 <a href='<?php echo esc_url( home_url( '/tag-cloud/' ) ); ?>' class="wpsc-all-tags"><?php esc_html_e( 'View All Tags →', 'wporg-showcase' ); ?></a> 21 21 22 <h2 class="heading"><?php _e( 'Browse by Flavor', 'wporg-showcase' ); ?></h2>22 <h2 class="heading"><?php esc_html_e( 'Browse by Flavor', 'wporg-showcase' ); ?></h2> 23 23 <ul class="submenu"> 24 24 <?php wp_list_categories( 'exclude=4&title_li=' ); ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/404.php
r15170 r15179 18 18 <section class="error-404 not-found"> 19 19 <header class="page-header"> 20 <h1 class="page-title"><?php _e( 'Oops! That page can’t be found.', 'wporg-forums' ); ?></h1>20 <h1 class="page-title"><?php esc_html_e( 'Oops! That page can’t be found.', 'wporg-forums' ); ?></h1> 21 21 </header><!-- .page-header --> 22 22 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/archive-forum.php
r14172 r15179 17 17 <p><?php printf( 18 18 /* Translators: forums welcome page URL */ 19 __( 'Our community-based support forums are a great place to learn, share, and help each other. <a href="%s">Find out how to get started</a>.', 'wporg-forums'),19 wp_kses_post( __( 'Our community-based support forums are a great place to learn, share, and help each other. <a href="%s">Find out how to get started</a>.', 'wporg-forums' ) ), 20 20 esc_url( wporg_support_get_welcome_url() ) 21 21 ) ?></p> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/content-single-forum.php
r13530 r15179 11 11 12 12 <header class="page-header"> 13 <h1 class="page-title"><?php printf( __( '%s Forum', 'wporg-forums' ), bbp_get_topic_title() ); ?></h1> 13 <?php /* translators: %s: Forum name. */ ?> 14 <h1 class="page-title"><?php printf( esc_html__( '%s Forum', 'wporg-forums' ), wp_kses_post( bbp_get_topic_title() ) ); ?></h1> 14 15 <p><?php bbp_forum_content(); ?></p> 15 16 </header> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/feedback-no-search.php
r7818 r15179 1 <?php 2 /** 3 * Notice shown when a forum search has no results. 4 * 5 * @package bbPress 6 */ 7 8 ?> 1 9 <div class="bbp-template-notice"> 2 <p><?php _e( 'No results found. Try a different search or start a new post.', 'wporg-forums' ); ?></p>10 <p><?php esc_html_e( 'No results found. Try a different search or start a new post.', 'wporg-forums' ); ?></p> 3 11 </div> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/feedback-no-topics.php
r7818 r15179 1 <?php 2 /** 3 * Notice shown when a forum view has no topics. 4 * 5 * @package bbPress 6 */ 7 8 ?> 1 9 <div class="bbp-template-notice"> 2 <p><?php _e( 'No topics found. Select another view or start a new post.', 'wporg-forums' ); ?></p>10 <p><?php esc_html_e( 'No topics found. Select another view or start a new post.', 'wporg-forums' ); ?></p> 3 11 </div> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/feedback-search.php
r7818 r15179 1 <?php 2 /** 3 * Notice shown when a forum search has no terms. 4 * 5 * @package bbPress 6 */ 7 8 ?> 1 9 <div class="bbp-template-notice"> 2 <p><?php _e( 'Please enter some search terms above', 'wporg-forums' ); ?></p>10 <p><?php esc_html_e( 'Please enter some search terms above', 'wporg-forums' ); ?></p> 3 11 </div> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/form-reply.php
r15170 r15179 85 85 <?php if ( bbp_allow_topic_tags() ) : ?> 86 86 <p> 87 <label for="bbp_topic_tags"><?php _e( 'Topic Tags:', 'wporg-forums' ); ?></label><br />87 <label for="bbp_topic_tags"><?php esc_html_e( 'Topic Tags:', 'wporg-forums' ); ?></label><br /> 88 88 <input type="text" value="<?php bbp_form_topic_tags(); ?>" size="40" name="bbp_topic_tags" id="bbp_topic_tags" aria-describedby="bbp_topic_tags_description" <?php disabled( bbp_is_topic_spam() ); ?> /><br /> 89 89 <em id="bbp_topic_tags_description"><?php esc_html_e( 'Separate tags with commas', 'wporg-forums' ); ?></em> … … 232 232 <p><?php 233 233 printf( 234 __( 'This may be caused by your account being marked as a brand or shared company account.', 'wporg-forums' ) . '<br>' .234 esc_html__( 'This may be caused by your account being marked as a brand or shared company account.', 'wporg-forums' ) . '<br>' . 235 235 /* translators: %s: Link to https://make.wordpress.org/support/2025/03/about-the-spectator-role-in-the-wordpress-support-forums/ */ 236 __( '<a href="%s">Please read this announcement</a> for more information.', 'wporg-forums') . '<br>' .236 wp_kses_post( __( '<a href="%s">Please read this announcement</a> for more information.', 'wporg-forums' ) ) . '<br>' . 237 237 /* translators: %s: Email address. */ 238 __( 'If you believe this to be in error, please contact the forum moderation team via <code>%s</code>.', 'wporg-forums'),238 wp_kses_post( __( 'If you believe this to be in error, please contact the forum moderation team via <code>%s</code>.', 'wporg-forums' ) ), 239 239 'https://make.wordpress.org/support/2025/03/about-the-spectator-role-in-the-wordpress-support-forums/', 240 240 WordPressdotorg\Forums\MODERATION_EMAIL -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/form-topic-merge.php
r13530 r15179 16 16 <div id="merge-topic-<?php bbp_topic_id(); ?>" class="bbp-topic-merge"> 17 17 18 <h1><?php printf( __( 'Merge topic "%s"', 'wporg-forums' ), bbp_get_topic_title() ); ?></h1> 18 <?php /* translators: %s: Topic title. */ ?> 19 <h1><?php printf( esc_html__( 'Merge topic “%s”', 'wporg-forums' ), wp_kses_post( bbp_get_topic_title() ) ); ?></h1> 19 20 20 21 <form id="merge_topic" name="merge_topic" method="post" action="<?php the_permalink(); ?>"> … … 22 23 <fieldset class="bbp-form"> 23 24 24 <legend><?php printf( __( 'Merge topic "%s"', 'wporg-forums' ), bbp_get_topic_title() ); ?></legend> 25 <?php /* translators: %s: Topic title. */ ?> 26 <legend><?php printf( esc_html__( 'Merge topic “%s”', 'wporg-forums' ), wp_kses_post( bbp_get_topic_title() ) ); ?></legend> 25 27 26 28 <div> 27 29 28 30 <div class="bbp-template-notice info"> 29 <p><?php _e( 'Select the topic to merge this one into. The destination topic will remain the lead topic, and this one will change into a reply.', 'wporg-forums' ); ?></p>30 <p><?php _e( 'To keep this topic as the lead, go to the other topic and use the merge tool from there instead.', 'wporg-forums' ); ?></p>31 <p><?php esc_html_e( 'Select the topic to merge this one into. The destination topic will remain the lead topic, and this one will change into a reply.', 'wporg-forums' ); ?></p> 32 <p><?php esc_html_e( 'To keep this topic as the lead, go to the other topic and use the merge tool from there instead.', 'wporg-forums' ); ?></p> 31 33 </div> 32 34 33 35 <div class="bbp-template-notice"> 34 <p><?php _e( 'All replies within both the topics will be merged chronologically. The order of the merged replies is based on the time they were posted. If the destination topic was created after this one, its post date will be updated to a second earlier than this one.', 'wporg-forums' ); ?></p>36 <p><?php esc_html_e( 'All replies within both the topics will be merged chronologically. The order of the merged replies is based on the time they were posted. If the destination topic was created after this one, its post date will be updated to a second earlier than this one.', 'wporg-forums' ); ?></p> 35 37 </div> 36 38 37 39 <fieldset class="bbp-form"> 38 <legend><?php _e( 'Destination', 'wporg-forums' ); ?></legend>40 <legend><?php esc_html_e( 'Destination', 'wporg-forums' ); ?></legend> 39 41 <div> 40 42 <?php if ( bbp_has_topics( array( 'show_stickies' => false, 'post_parent' => bbp_get_topic_forum_id( bbp_get_topic_id() ), 'post__not_in' => array( bbp_get_topic_id() ) ) ) ) : ?> 41 43 42 <label for="bbp_destination_topic"><?php _e( 'Merge with this topic:', 'wporg-forums' ); ?></label>44 <label for="bbp_destination_topic"><?php esc_html_e( 'Merge with this topic:', 'wporg-forums' ); ?></label> 43 45 44 46 <?php … … 58 60 <?php else : ?> 59 61 60 <label><?php _e( 'There are no other topics in this forum to merge with.', 'wporg-forums' ); ?></label>62 <label><?php esc_html_e( 'There are no other topics in this forum to merge with.', 'wporg-forums' ); ?></label> 61 63 62 64 <?php endif; ?> … … 66 68 67 69 <fieldset class="bbp-form"> 68 <legend><?php _e( 'Topic Extras', 'wporg-forums' ); ?></legend>70 <legend><?php esc_html_e( 'Topic Extras', 'wporg-forums' ); ?></legend> 69 71 70 72 <div> … … 73 75 74 76 <input name="bbp_topic_subscribers" id="bbp_topic_subscribers" type="checkbox" value="1" checked="checked" /> 75 <label for="bbp_topic_subscribers"><?php _e( 'Merge topic subscribers', 'wporg-forums' ); ?></label><br />77 <label for="bbp_topic_subscribers"><?php esc_html_e( 'Merge topic subscribers', 'wporg-forums' ); ?></label><br /> 76 78 77 79 <?php endif; ?> 78 80 79 81 <input name="bbp_topic_favoriters" id="bbp_topic_favoriters" type="checkbox" value="1" checked="checked" /> 80 <label for="bbp_topic_favoriters"><?php _e( 'Merge topic favoriters', 'wporg-forums' ); ?></label><br />82 <label for="bbp_topic_favoriters"><?php esc_html_e( 'Merge topic favoriters', 'wporg-forums' ); ?></label><br /> 81 83 82 84 <?php if ( bbp_allow_topic_tags() ) : ?> 83 85 84 86 <input name="bbp_topic_tags" id="bbp_topic_tags" type="checkbox" value="1" checked="checked" /> 85 <label for="bbp_topic_tags"><?php _e( 'Merge topic tags', 'wporg-forums' ); ?></label><br />87 <label for="bbp_topic_tags"><?php esc_html_e( 'Merge topic tags', 'wporg-forums' ); ?></label><br /> 86 88 87 89 <?php endif; ?> … … 91 93 92 94 <div class="bbp-template-notice error"> 93 <p><?php _e( '<strong>WARNING:</strong> This process cannot be undone.', 'wporg-forums'); ?></p>95 <p><?php echo wp_kses_post( __( '<strong>WARNING:</strong> This process cannot be undone.', 'wporg-forums' ) ); ?></p> 94 96 </div> 95 97 96 98 <div class="bbp-submit-wrapper"> 97 <button type="submit" id="bbp_merge_topic_submit" name="bbp_merge_topic_submit" class="button button-primary submit"><?php _e( 'Submit', 'wporg-forums' ); ?></button>99 <button type="submit" id="bbp_merge_topic_submit" name="bbp_merge_topic_submit" class="button button-primary submit"><?php esc_html_e( 'Submit', 'wporg-forums' ); ?></button> 98 100 </div> 99 101 </div> … … 108 110 109 111 <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> 110 <div class="entry-content"><?php is_user_logged_in() ? _e( 'You do not have the permissions to edit this topic!', 'wporg-forums' ) :_e( 'You cannot edit this topic.', 'wporg-forums' ); ?></div>112 <div class="entry-content"><?php is_user_logged_in() ? esc_html_e( 'You do not have the permissions to edit this topic!', 'wporg-forums' ) : esc_html_e( 'You cannot edit this topic.', 'wporg-forums' ); ?></div> 111 113 </div> 112 114 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/form-topic-split.php
r13530 r15179 16 16 <div id="split-topic-<?php bbp_topic_id(); ?>" class="bbp-topic-split"> 17 17 18 <h1><?php printf( __( 'Split topic "%s"', 'wporg-forums' ), bbp_get_topic_title() ); ?></h1> 18 <?php /* translators: %s: Topic title. */ ?> 19 <h1><?php printf( esc_html__( 'Split topic “%s”', 'wporg-forums' ), wp_kses_post( bbp_get_topic_title() ) ); ?></h1> 19 20 20 21 <form id="split_topic" name="split_topic" method="post" action="<?php the_permalink(); ?>"> … … 22 23 <fieldset class="bbp-form"> 23 24 24 <legend><?php printf( __( 'Split topic "%s"', 'wporg-forums' ), bbp_get_topic_title() ); ?></legend> 25 <?php /* translators: %s: Topic title. */ ?> 26 <legend><?php printf( esc_html__( 'Split topic “%s”', 'wporg-forums' ), wp_kses_post( bbp_get_topic_title() ) ); ?></legend> 25 27 26 28 <div> 27 29 28 30 <div class="bbp-template-notice info"> 29 <p><?php _e( 'When you split a topic, you are slicing it in half starting with the reply you just selected. Choose to use that reply as a new topic with a new title, or merge those replies into an existing topic.', 'wporg-forums' ); ?></p>31 <p><?php esc_html_e( 'When you split a topic, you are slicing it in half starting with the reply you just selected. Choose to use that reply as a new topic with a new title, or merge those replies into an existing topic.', 'wporg-forums' ); ?></p> 30 32 </div> 31 33 32 34 <div class="bbp-template-notice"> 33 <p><?php _e( 'If you use the existing topic option, replies within both topics will be merged chronologically. The order of the merged replies is based on the time and date they were posted.', 'wporg-forums' ); ?></p>35 <p><?php esc_html_e( 'If you use the existing topic option, replies within both topics will be merged chronologically. The order of the merged replies is based on the time and date they were posted.', 'wporg-forums' ); ?></p> 34 36 </div> 35 37 36 38 <fieldset class="bbp-form"> 37 <legend><?php _e( 'Split Method', 'wporg-forums' ); ?></legend>39 <legend><?php esc_html_e( 'Split Method', 'wporg-forums' ); ?></legend> 38 40 39 41 <div> 40 42 <input name="bbp_topic_split_option" id="bbp_topic_split_option_reply" type="radio" checked="checked" value="reply" /> 41 <label for="bbp_topic_split_option_reply"><?php printf( __( 'New topic in <strong>%s</strong> titled:', 'wporg-forums' ), bbp_get_forum_title( bbp_get_topic_forum_id( bbp_get_topic_id() ) ) ); ?></label> 43 <?php /* translators: %s: Forum title. */ ?> 44 <label for="bbp_topic_split_option_reply"><?php printf( wp_kses_post( __( 'New topic in <strong>%s</strong> titled:', 'wporg-forums' ) ), esc_html( bbp_get_forum_title( bbp_get_topic_forum_id( bbp_get_topic_id() ) ) ) ); ?></label> 42 45 <input type="text" id="bbp_topic_split_destination_title" value="<?php echo esc_attr( sprintf( __( 'Split: %s', 'wporg-forums' ), bbp_get_topic_title() ) ); ?>" size="35" name="bbp_topic_split_destination_title" /> 43 46 </div> … … 47 50 <div> 48 51 <input name="bbp_topic_split_option" id="bbp_topic_split_option_existing" type="radio" value="existing" /> 49 <label for="bbp_topic_split_option_existing"><?php _e( 'Use an existing topic in this forum:', 'wporg-forums' ); ?></label>52 <label for="bbp_topic_split_option_existing"><?php esc_html_e( 'Use an existing topic in this forum:', 'wporg-forums' ); ?></label> 50 53 51 54 <?php … … 69 72 70 73 <fieldset class="bbp-form"> 71 <legend><?php _e( 'Topic Extras', 'wporg-forums' ); ?></legend>74 <legend><?php esc_html_e( 'Topic Extras', 'wporg-forums' ); ?></legend> 72 75 73 76 <div> … … 76 79 77 80 <input name="bbp_topic_subscribers" id="bbp_topic_subscribers" type="checkbox" value="1" checked="checked" /> 78 <label for="bbp_topic_subscribers"><?php _e( 'Copy subscribers to the new topic', 'wporg-forums' ); ?></label><br />81 <label for="bbp_topic_subscribers"><?php esc_html_e( 'Copy subscribers to the new topic', 'wporg-forums' ); ?></label><br /> 79 82 80 83 <?php endif; ?> 81 84 82 85 <input name="bbp_topic_favoriters" id="bbp_topic_favoriters" type="checkbox" value="1" checked="checked" /> 83 <label for="bbp_topic_favoriters"><?php _e( 'Copy favoriters to the new topic', 'wporg-forums' ); ?></label><br />86 <label for="bbp_topic_favoriters"><?php esc_html_e( 'Copy favoriters to the new topic', 'wporg-forums' ); ?></label><br /> 84 87 85 88 <?php if ( bbp_allow_topic_tags() ) : ?> 86 89 87 90 <input name="bbp_topic_tags" id="bbp_topic_tags" type="checkbox" value="1" checked="checked" /> 88 <label for="bbp_topic_tags"><?php _e( 'Copy topic tags to the new topic', 'wporg-forums' ); ?></label><br />91 <label for="bbp_topic_tags"><?php esc_html_e( 'Copy topic tags to the new topic', 'wporg-forums' ); ?></label><br /> 89 92 90 93 <?php endif; ?> … … 94 97 95 98 <div class="bbp-template-notice error"> 96 <p><?php _e( '<strong>WARNING:</strong> This process cannot be undone.', 'wporg-forums'); ?></p>99 <p><?php echo wp_kses_post( __( '<strong>WARNING:</strong> This process cannot be undone.', 'wporg-forums' ) ); ?></p> 97 100 </div> 98 101 99 102 <div class="bbp-submit-wrapper"> 100 <button type="submit" id="bbp_merge_topic_submit" name="bbp_merge_topic_submit" class="button button-primary submit"><?php _e( 'Submit', 'wporg-forums' ); ?></button>103 <button type="submit" id="bbp_merge_topic_submit" name="bbp_merge_topic_submit" class="button button-primary submit"><?php esc_html_e( 'Submit', 'wporg-forums' ); ?></button> 101 104 </div> 102 105 </div> … … 111 114 112 115 <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> 113 <div class="entry-content"><?php is_user_logged_in() ? _e( 'You do not have the permissions to edit this topic!', 'wporg-forums' ) :_e( 'You cannot edit this topic.', 'wporg-forums' ); ?></div>116 <div class="entry-content"><?php is_user_logged_in() ? esc_html_e( 'You do not have the permissions to edit this topic!', 'wporg-forums' ) : esc_html_e( 'You cannot edit this topic.', 'wporg-forums' ); ?></div> 114 117 </div> 115 118 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/form-topic.php
r14796 r15179 16 16 17 17 <h1> 18 <?php printf( __( 'Now Editing “%s”', 'wporg-forums' ), bbp_get_topic_title() ); ?> 18 <?php /* translators: %s: Topic title. */ ?> 19 <?php printf( esc_html__( 'Now Editing “%s”', 'wporg-forums' ), wp_kses_post( bbp_get_topic_title() ) ); ?> 19 20 </h1> 20 21 … … 23 24 <h2> 24 25 <?php if ( bbp_is_single_forum() ) { 25 _e( 'Create a new topic in this forum', 'wporg-forums' );26 esc_html_e( 'Create a new topic in this forum', 'wporg-forums' ); 26 27 } elseif ( bbp_is_single_view() && 'reviews' === bbp_get_view_id() ) { 27 _e( 'Create a new review', 'wporg-forums' );28 esc_html_e( 'Create a new review', 'wporg-forums' ); 28 29 } else { 29 _e( 'Create a new topic', 'wporg-forums' );30 esc_html_e( 'Create a new topic', 'wporg-forums' ); 30 31 } ?> 31 32 </h2> … … 73 74 <?php else : ?> 74 75 75 <p><?php _e( 'Before posting a new topic, follow these steps:', 'wporg-forums' ); ?></p>76 <p><?php esc_html_e( 'Before posting a new topic, follow these steps:', 'wporg-forums' ); ?></p> 76 77 <ul> 77 78 <li><?php 78 79 /* translators: %s: Handbook URL for forum welcome */ 79 printf( __( '<strong><a href="%s">Read the Welcome Guide</a></strong> to maximize your odds of getting help.', 'wporg-forums' ), 80 printf( 81 /* translators: %s: Welcome guide URL. */ 82 wp_kses_post( __( '<strong><a href="%s">Read the Welcome Guide</a></strong> to maximize your odds of getting help.', 'wporg-forums' ) ), 80 83 esc_url( __( 'https://wordpress.org/support/welcome/', 'wporg-forums' ) ) 81 84 ); … … 83 86 <li><?php 84 87 /* translators: %s: URL to search */ 85 printf( __( '<strong><a href="%s">Search the forums</a></strong> for similar inquiries.', 'wporg-forums' ), 88 printf( 89 /* translators: %s: Forum search URL. */ 90 wp_kses_post( __( '<strong><a href="%s">Search the forums</a></strong> for similar inquiries.', 'wporg-forums' ) ), 86 91 esc_url( bbp_get_search_url() ) 87 92 ); 88 93 ?></li> 89 <li><?php _e( '<strong>Update your plugins, themes, and WordPress site</strong> to the latest versions.', 'wporg-forums'); ?></li>90 <li><?php _e( '<strong>Describe the steps</strong> needed to reproduce an issue.', 'wporg-forums'); ?></li>91 <li><?php _e( '<strong>Provide relevant information</strong>, such as your browser, operating system, or server environment.', 'wporg-forums'); ?></li>94 <li><?php echo wp_kses_post( __( '<strong>Update your plugins, themes, and WordPress site</strong> to the latest versions.', 'wporg-forums' ) ); ?></li> 95 <li><?php echo wp_kses_post( __( '<strong>Describe the steps</strong> needed to reproduce an issue.', 'wporg-forums' ) ); ?></li> 96 <li><?php echo wp_kses_post( __( '<strong>Provide relevant information</strong>, such as your browser, operating system, or server environment.', 'wporg-forums' ) ); ?></li> 92 97 <?php if ( ! bbp_is_single_view() || ! in_array( bbp_get_view_id(), array( 'theme', 'plugin' ) ) ) : ?> 93 98 <li><?php 94 /* translators: 1: Theme Directory URL, 2: Appearance icon, 3: Plugin Directory URL, 4: Plugins icon */ 95 printf( __( '<strong>Don\'t use this forum to ask for help with <a href="%1$s">themes</a> or <a href="%2$s">plugins</a></strong>. Instead, head to the theme or plugin\'s page and find the "View support forum" link for its specific forum.', 'wporg-forums' ), 99 printf( 100 /* translators: 1: Theme directory URL, 2: Plugin directory URL. */ 101 wp_kses_post( __( '<strong>Don’t use this forum to ask for help with <a href="%1$s">themes</a> or <a href="%2$s">plugins</a></strong>. Instead, head to the theme or plugin’s page and find the "View support forum" link for its specific forum.', 'wporg-forums' ) ), 96 102 esc_url( __( 'https://wordpress.org/themes/', 'wporg-forums' ) ), 97 103 esc_url( __( 'https://wordpress.org/plugins/', 'wporg-forums' ) ) … … 101 107 <li><?php 102 108 /* translators: %s: Handbook URL for reporting security issues */ 103 printf( __( '<strong>Reporting a security issue?</strong> Please follow the guidelines on <a href="%s">reporting vulnerabilities responsibly</a>.', 'wporg-forums' ), 109 printf( 110 /* translators: %s: Vulnerability reporting guidelines URL. */ 111 wp_kses_post( __( '<strong>Reporting a security issue?</strong> Please follow the guidelines on <a href="%s">reporting vulnerabilities responsibly</a>.', 'wporg-forums' ) ), 104 112 esc_url( __( 'https://make.wordpress.org/core/handbook/testing/reporting-security-vulnerabilities/', 'wporg-forums' ) ) 105 113 ); … … 116 124 117 125 <div class="bbp-template-notice"> 118 <p><?php _e( 'This forum is marked as closed to new topics, however your posting capabilities still allow you to create a topic.', 'wporg-forums' ); ?></p>126 <p><?php esc_html_e( 'This forum is marked as closed to new topics, however your posting capabilities still allow you to create a topic.', 'wporg-forums' ); ?></p> 119 127 </div> 120 128 … … 124 132 125 133 <div class="bbp-template-notice"> 126 <p><?php _e( 'Your account has the ability to post unrestricted HTML content.', 'wporg-forums' ); ?></p>134 <p><?php esc_html_e( 'Your account has the ability to post unrestricted HTML content.', 'wporg-forums' ); ?></p> 127 135 </div> 128 136 … … 140 148 <label for="bbp_topic_title"><?php 141 149 if ( bbp_is_single_view() && 'reviews' === bbp_get_view_id() ) { 142 printf( __( 'Review Title (Maximum Length: %d):', 'wporg-forums' ), bbp_get_title_max_length() ); 150 /* translators: %d: Maximum title length. */ 151 printf( esc_html__( 'Review Title (Maximum Length: %d):', 'wporg-forums' ), (int) bbp_get_title_max_length() ); 143 152 } else { 144 printf( __( 'Topic Title (Maximum Length: %d):', 'wporg-forums' ), bbp_get_title_max_length() ); 153 /* translators: %d: Maximum title length. */ 154 printf( esc_html__( 'Topic Title (Maximum Length: %d):', 'wporg-forums' ), (int) bbp_get_title_max_length() ); 145 155 } 146 156 ?></label><br /> … … 161 171 <?php if ( bbp_allow_topic_tags() ) : ?> 162 172 <p> 163 <label for="bbp_topic_tags"><?php _e( 'Topic Tags:', 'wporg-forums' ); ?></label><br />173 <label for="bbp_topic_tags"><?php esc_html_e( 'Topic Tags:', 'wporg-forums' ); ?></label><br /> 164 174 <input type="text" value="<?php bbp_form_topic_tags(); ?>" size="40" name="bbp_topic_tags" id="bbp_topic_tags" aria-describedby="bbp_topic_tags_description" <?php disabled( bbp_is_topic_spam() ); ?> /><br /> 165 175 <em id="bbp_topic_tags_description"><?php esc_html_e( 'Separate tags with commas', 'wporg-forums' ); ?></em> … … 174 184 175 185 <p> 176 <label for="bbp_forum_id"><?php _e( 'Forum:', 'wporg-forums' ); ?></label><br />186 <label for="bbp_forum_id"><?php esc_html_e( 'Forum:', 'wporg-forums' ); ?></label><br /> 177 187 <?php bbp_dropdown( array( 'selected' => bbp_get_form_topic_forum() ) ); ?> 178 188 </p> … … 191 201 <?php if ( bbp_is_topic_edit() && ( get_the_author_meta( 'ID' ) != bbp_get_current_user_id() ) ) : ?> 192 202 193 <label for="bbp_topic_subscription"><?php _e( 'Notify the author of follow-up replies via email', 'wporg-forums' ); ?></label>203 <label for="bbp_topic_subscription"><?php esc_html_e( 'Notify the author of follow-up replies via email', 'wporg-forums' ); ?></label> 194 204 195 205 <?php else : ?> 196 206 197 <label for="bbp_topic_subscription"><?php _e( 'Notify me of follow-up replies via email', 'wporg-forums' ); ?></label>207 <label for="bbp_topic_subscription"><?php esc_html_e( 'Notify me of follow-up replies via email', 'wporg-forums' ); ?></label> 198 208 199 209 <?php endif; ?> … … 211 221 <legend> 212 222 <input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="1" <?php bbp_form_topic_log_edit(); ?> /> 213 <label for="bbp_log_topic_edit"><?php _e( 'Keep a log of this edit:', 'wporg-forums' ); ?></label><br />223 <label for="bbp_log_topic_edit"><?php esc_html_e( 'Keep a log of this edit:', 'wporg-forums' ); ?></label><br /> 214 224 </legend> 215 225 216 226 <div> 217 <label for="bbp_topic_edit_reason"><em><?php _e( 'Optional reason for editing:', 'wporg-forums' ); ?></em></label><br />227 <label for="bbp_topic_edit_reason"><em><?php esc_html_e( 'Optional reason for editing:', 'wporg-forums' ); ?></em></label><br /> 218 228 <input type="text" value="<?php bbp_form_topic_edit_reason(); ?>" size="40" name="bbp_topic_edit_reason" id="bbp_topic_edit_reason" /> 219 229 </div> … … 230 240 <?php do_action( 'bbp_theme_before_topic_form_submit_button' ); ?> 231 241 232 <button type="submit" id="bbp_topic_submit" name="bbp_topic_submit" class="button button-primary submit"><?php _e( 'Submit', 'wporg-forums' ); ?></button>242 <button type="submit" id="bbp_topic_submit" name="bbp_topic_submit" class="button button-primary submit"><?php esc_html_e( 'Submit', 'wporg-forums' ); ?></button> 233 243 234 244 <?php do_action( 'bbp_theme_after_topic_form_submit_button' ); ?> … … 253 263 <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> 254 264 <div class="bbp-template-notice"> 255 <p><?php printf( __( 'The forum ‘%s’ is closed to new topics and replies.', 'wporg-forums' ), bbp_get_forum_title() ); ?></p> 265 <?php /* translators: %s: Forum title. */ ?> 266 <p><?php printf( esc_html__( 'The forum ‘%s’ is closed to new topics and replies.', 'wporg-forums' ), esc_html( bbp_get_forum_title() ) ); ?></p> 256 267 </div> 257 268 </div> … … 261 272 <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> 262 273 <div class="bbp-template-notice"> 263 <p><?php _e( 'You cannot create new topics at this time.', 'wporg-forums' ); ?></p>274 <p><?php esc_html_e( 'You cannot create new topics at this time.', 'wporg-forums' ); ?></p> 264 275 <?php if ( current_user_can( bbp_get_spectator_role() ) ) : ?> 265 276 <p><?php 266 277 printf( 267 __( 'This may be caused by your account being marked as a brand or shared company account.', 'wporg-forums' ) . '<br>' .278 esc_html__( 'This may be caused by your account being marked as a brand or shared company account.', 'wporg-forums' ) . '<br>' . 268 279 /* translators: %s: Link to https://make.wordpress.org/support/2025/03/about-the-spectator-role-in-the-wordpress-support-forums/ */ 269 __( '<a href="%s">Please read this announcement</a> for more information.', 'wporg-forums') . '<br>' .280 wp_kses_post( __( '<a href="%s">Please read this announcement</a> for more information.', 'wporg-forums' ) ) . '<br>' . 270 281 /* translators: %s: Email address. */ 271 __( 'If you believe this to be in error, please contact the forum moderation team via <code>%s</code>.', 'wporg-forums'),282 wp_kses_post( __( 'If you believe this to be in error, please contact the forum moderation team via <code>%s</code>.', 'wporg-forums' ) ), 272 283 'https://make.wordpress.org/support/2025/03/about-the-spectator-role-in-the-wordpress-support-forums/', 273 284 WordPressdotorg\Forums\MODERATION_EMAIL -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/form-user-edit.php
r15170 r15179 120 120 <p id="security"> 121 121 <?php printf( 122 __( 'Your password and two-factor authentication settings can be changed in <a href="%s">the Account section</a>.', 'wporg' ), 122 /* translators: %s: Account settings URL. */ 123 wp_kses_post( __( 'Your password and two-factor authentication settings can be changed in <a href="%s">the Account section</a>.', 'wporg' ) ), 123 124 esc_url( get_edit_account_url( bbp_get_displayed_user_id() ) ) 124 125 ); ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/loop-forums-homepage.php
r13329 r15179 3 3 4 4 <section class="forums-homepage-list"> 5 <h2 class="has-heading-5-font-size"><?php _e( 'Forums', 'wporg-forums' ); ?></h2>5 <h2 class="has-heading-5-font-size"><?php esc_html_e( 'Forums', 'wporg-forums' ); ?></h2> 6 6 7 7 <?php echo do_blocks( … … 18 18 19 19 <section class="forums-homepage-topics"> 20 <h2 class="has-heading-5-font-size"><?php _e( 'Topics', 'wporg-forums' ); ?></h2>20 <h2 class="has-heading-5-font-size"><?php esc_html_e( 'Topics', 'wporg-forums' ); ?></h2> 21 21 22 22 <?php echo do_blocks( -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/loop-forums.php
r7818 r15179 6 6 7 7 <ul class="forum-titles"> 8 <li class="bbp-forum-info"><?php _e( 'Forum', 'wporg-forums' ); ?></li>9 <li class="bbp-forum-topic-count"><?php _e( 'Topics', 'wporg-forums' ); ?></li>10 <li class="bbp-forum-reply-count"><?php _e( 'Posts', 'wporg-forums' ); ?></li>8 <li class="bbp-forum-info"><?php esc_html_e( 'Forum', 'wporg-forums' ); ?></li> 9 <li class="bbp-forum-topic-count"><?php esc_html_e( 'Topics', 'wporg-forums' ); ?></li> 10 <li class="bbp-forum-reply-count"><?php esc_html_e( 'Posts', 'wporg-forums' ); ?></li> 11 11 </ul> 12 12 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/loop-single-reply-topic.php
r15170 r15179 19 19 <?php do_action( 'bbp_theme_before_topic_started_by' ); ?> 20 20 21 <span class="bbp-topic-started-by"><?php printf( __( 'Started by: %1$s', 'wporg-forums' ), bbp_get_topic_author_link( array( 'post_id' => $topic_id, 'size' => '14' ) ) ); ?></span> 21 <span class="bbp-topic-started-by"> 22 <?php 23 printf( 24 /* translators: %1$s: Topic author link. */ 25 esc_html__( 'Started by: %1$s', 'wporg-forums' ), 26 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- bbPress builds this markup; wp_kses_post() would strip the avatar's srcset and decoding attributes. 27 bbp_get_topic_author_link( 28 array( 29 'post_id' => $topic_id, 30 'size' => '14', 31 ) 32 ) 33 ); 34 ?> 35 </span> 22 36 23 37 <?php do_action( 'bbp_theme_after_topic_started_by' ); ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/loop-single-topic.php
r15170 r15179 47 47 <?php do_action( 'bbp_theme_before_topic_started_by' ); ?> 48 48 49 <span class="bbp-topic-started-by"><?php printf( __( 'Started by: %1$s', 'wporg-forums' ), bbp_get_topic_author_link( array( 'size' => '14' ) ) ); ?></span> 49 <?php /* translators: %1$s: Topic author link. */ ?> 50 <span class="bbp-topic-started-by"><?php printf( esc_html__( 'Started by: %1$s', 'wporg-forums' ), bbp_get_topic_author_link( array( 'size' => '14' ) ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- bbPress builds this markup; wp_kses_post() would strip the avatar's srcset and decoding attributes. ?></span> 50 51 51 52 <?php do_action( 'bbp_theme_after_topic_started_by' ); ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/user-profile.php
r15045 r15179 72 72 73 73 if ( $slack_username && $slack_username != $user_nicename ) { 74 /* translators: 1: user's WordPress.org profile link, 2: user's Slack username, 3: make.wordpress.org/chat URL */ 75 printf( __( '%1$s on WordPress.org, %2$s on <a href="%3$s">Slack</a>', 'wporg-forums' ), 74 printf( 75 /* translators: 1: User's WordPress.org profile link, 2: User's Slack username, 3: make.wordpress.org/chat URL. */ 76 wp_kses_post( __( '%1$s on WordPress.org, %2$s on <a href="%3$s">Slack</a>', 'wporg-forums' ) ), 76 77 wporg_support_get_wporg_profile_link(), 77 78 '@' . esc_html( $slack_username ), … … 79 80 ); 80 81 } elseif( $slack_username ) { 81 /* translators: 1: WordPress.org and Slack username, 2: URL for information about Slack */ 82 printf( __( '%1$s on WordPress.org and <a href="%2$s">Slack</a>', 'wporg-forums' ), 82 printf( 83 /* translators: 1: WordPress.org and Slack username, 2: URL for information about Slack. */ 84 wp_kses_post( __( '%1$s on WordPress.org and <a href="%2$s">Slack</a>', 'wporg-forums' ) ), 83 85 wporg_support_get_wporg_profile_link(), 84 86 'https://make.wordpress.org/chat/' -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/user-subscriptions.php
r9475 r15179 34 34 <?php else : 35 35 if ( bbp_get_user_id() == get_current_user_id() ) { 36 echo '<p>' . __( 'You are not currently subscribed to any topics.', 'wporg-forums' ) . '</p>';36 echo '<p>' . esc_html__( 'You are not currently subscribed to any topics.', 'wporg-forums' ) . '</p>'; 37 37 } else { 38 echo '<p>' . __( 'This user is not currently subscribed to any topics.', 'wporg-forums' ) . '</p>';38 echo '<p>' . esc_html__( 'This user is not currently subscribed to any topics.', 'wporg-forums' ) . '</p>'; 39 39 } 40 40 endif ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/functions.php
r15071 r15179 1356 1356 <form role="search" method="get" id="searchform" action="https://wordpress.org/search/do-search.php"> 1357 1357 <div> 1358 <h3><?php _e( 'Forum Search', 'wporg-forums' ); ?></h3>1359 <label class="screen-reader-text hidden" for="search"><?php _e( 'Search for:', 'wporg-forums' ); ?></label>1358 <h3><?php esc_html_e( 'Forum Search', 'wporg-forums' ); ?></h3> 1359 <label class="screen-reader-text hidden" for="search"><?php esc_html_e( 'Search for:', 'wporg-forums' ); ?></label> 1360 1360 <input name="search" class="text" id="forumsearchbox" value type="text" /> 1361 1361 <input name="go" class="button" type="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'wporg-forums' ); ?>" /> … … 1372 1372 <form role="search" method="get" id="searchform" action=""> 1373 1373 <div> 1374 <h3><?php _e( 'Forum Search', 'wporg-forums' ); ?></h3>1375 <label class="screen-reader-text hidden" for="ts"><?php _e( 'Search for:', 'wporg-forums' ); ?></label>1374 <h3><?php esc_html_e( 'Forum Search', 'wporg-forums' ); ?></h3> 1375 <label class="screen-reader-text hidden" for="ts"><?php esc_html_e( 'Search for:', 'wporg-forums' ); ?></label> 1376 1376 <input type="text" value="<?php echo bb_base_topic_search_query(); ?>" name="ts" id="ts" /> 1377 1377 <input class="button" type="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'wporg-forums' ); ?>" /> … … 1387 1387 <form role="search" method="get" id="searchform" action=""> 1388 1388 <div> 1389 <h3><?php _e( 'Reply Search', 'wporg-forums' ); ?></h3>1390 <label class="screen-reader-text hidden" for="rs"><?php _e( 'Search for:', 'wporg-forums' ); ?></label>1389 <h3><?php esc_html_e( 'Reply Search', 'wporg-forums' ); ?></h3> 1390 <label class="screen-reader-text hidden" for="rs"><?php esc_html_e( 'Search for:', 'wporg-forums' ); ?></label> 1391 1391 <input type="text" value="<?php echo bb_base_reply_search_query(); ?>" name="rs" id="rs" /> 1392 1392 <input class="button" type="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'wporg-forums' ); ?>" /> … … 1402 1402 <form role="search" method="get" id="searchform" action=""> 1403 1403 <div> 1404 <h3><?php _e( 'Plugin Search', 'wporg-forums' ); ?></h3>1405 <label class="screen-reader-text hidden" for="ps"><?php _e( 'Search for:', 'wporg-forums' ); ?></label>1404 <h3><?php esc_html_e( 'Plugin Search', 'wporg-forums' ); ?></h3> 1405 <label class="screen-reader-text hidden" for="ps"><?php esc_html_e( 'Search for:', 'wporg-forums' ); ?></label> 1406 1406 <input type="text" value="<?php echo bb_base_plugin_search_query(); ?>" name="ps" id="ts" /> 1407 1407 <input class="button" type="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'wporg-forums' ); ?>" /> … … 1486 1486 printf( 1487 1487 /* translators: %s: forum title */ 1488 __( 'In: %s', 'wporg-forums' ),1488 esc_html__( 'In: %s', 'wporg-forums' ), 1489 1489 sprintf( '<a href="%s">%s</a>', 1490 1490 esc_url( bbp_get_forum_permalink( bbp_get_topic_forum_id() ) ), 1491 bbp_get_topic_forum_title()1491 esc_html( bbp_get_topic_forum_title() ) 1492 1492 ) 1493 1493 ); … … 1504 1504 <?php if ( !empty( $last_reply ) ) : ?> 1505 1505 <li class="topic-freshness-author"><?php 1506 /* translators: %s: reply author link */ 1507 printf( __( 'Last reply from: %s', 'wporg-forums' ), 1508 bbp_get_author_link( array( 'type' => 'name', 'post_id' => $last_reply, 'size' => '15' ) ) 1506 printf( 1507 /* translators: %s: Reply author link. */ 1508 esc_html__( 'Last reply from: %s', 'wporg-forums' ), 1509 wp_kses_post( 1510 bbp_get_author_link( 1511 array( 1512 'type' => 'name', 1513 'post_id' => $last_reply, 1514 'size' => '15', 1515 ) 1516 ) 1517 ) 1509 1518 ); 1510 1519 ?></li> … … 1513 1522 <li class="topic-freshness-time"><?php 1514 1523 /* translators: %s: date/time link to the latest post */ 1515 printf( __( 'Last activity: %s', 'wporg-forums' ), $time_since);1524 printf( esc_html__( 'Last activity: %s', 'wporg-forums' ), wp_kses_post( $time_since ) ); 1516 1525 ?></li> 1517 1526 <?php endif; ?> … … 1527 1536 <li class="create-reply"><a href="#new-post"><?php 1528 1537 if ( wporg_support_is_single_review() ) { 1529 _e( 'Reply to Review', 'wporg-forums' );1538 esc_html_e( 'Reply to Review', 'wporg-forums' ); 1530 1539 } else { 1531 _e( 'Reply to Topic', 'wporg-forums' );1540 esc_html_e( 'Reply to Topic', 'wporg-forums' ); 1532 1541 } 1533 1542 ?></a></li> … … 1550 1559 if ( bbp_get_forum_parent_id() ) : ?> 1551 1560 <li class="topic-parent"><?php 1552 /* translators: %s: forum title */ 1553 printf( __( 'In: %s', 'wporg-forums' ), 1554 sprintf( '<a href="%s">%s</a>', 1561 printf( 1562 /* translators: %s: Forum title. */ 1563 esc_html__( 'In: %s', 'wporg-forums' ), 1564 sprintf( 1565 '<a href="%s">%s</a>', 1555 1566 esc_url( bbp_get_forum_permalink( bbp_get_forum_parent_id() ) ), 1556 bbp_get_forum_title( bbp_get_forum_parent_id() )1567 esc_html( bbp_get_forum_title( bbp_get_forum_parent_id() ) ) 1557 1568 ) 1558 1569 ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/page-homepage.php
r13604 r15179 33 33 34 34 <section class="forums-homepage-topics"> 35 <h2 class="has-heading-5-font-size"><?php _e( 'Topics', 'wporg-forums' ); ?></h2>35 <h2 class="has-heading-5-font-size"><?php esc_html_e( 'Topics', 'wporg-forums' ); ?></h2> 36 36 37 37 <?php echo do_blocks( '<!-- wp:pattern {"slug":"wporg-support/forums-views"} /-->' ); ?> … … 40 40 <section class="clear helpful-links"> 41 41 <div> 42 <h2 class="has-heading-5-font-size"><?php _e( 'Helpful Links', 'wporg-forums' ); ?></h2>42 <h2 class="has-heading-5-font-size"><?php esc_html_e( 'Helpful Links', 'wporg-forums' ); ?></h2> 43 43 <ul class="meta-list"> 44 <li><?php _e( '<a href="https://wordpress.org/support/article/new_to_wordpress_-_where_to_start/">New to WordPress — Where to Start</a>', 'wporg-forums'); ?></li>45 <li><?php _e( '<a href="https://wordpress.org/support/article/faq-installation/">Frequently Asked Questions about Installing WordPress</a>', 'wporg-forums'); ?></li>46 <li><?php _e( '<a href="https://wordpress.org/support/article/first-steps-with-wordpress-classic/">First Steps with WordPress</a>', 'wporg-forums'); ?></li>47 <li><?php _e( '<a href="https://wordpress.org/support/article/writing-posts/">Writing Posts</a>', 'wporg-forums'); ?></li>44 <li><?php echo wp_kses_post( __( '<a href="https://wordpress.org/support/article/new_to_wordpress_-_where_to_start/">New to WordPress — Where to Start</a>', 'wporg-forums' ) ); ?></li> 45 <li><?php echo wp_kses_post( __( '<a href="https://wordpress.org/support/article/faq-installation/">Frequently Asked Questions about Installing WordPress</a>', 'wporg-forums' ) ); ?></li> 46 <li><?php echo wp_kses_post( __( '<a href="https://wordpress.org/support/article/first-steps-with-wordpress-classic/">First Steps with WordPress</a>', 'wporg-forums' ) ); ?></li> 47 <li><?php echo wp_kses_post( __( '<a href="https://wordpress.org/support/article/writing-posts/">Writing Posts</a>', 'wporg-forums' ) ); ?></li> 48 48 </ul> 49 49 </div> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/searchform.php
r13961 r15179 6 6 7 7 <form role="search" method="get" class="search-form" action="<?php bbp_search_url(); ?>"> 8 <label for="s" class="screen-reader-text"><?php _ex( 'Search for:', 'label', 'wporg-forums' ); ?></label>8 <label for="s" class="screen-reader-text"><?php echo esc_html_x( 'Search for:', 'label', 'wporg-forums' ); ?></label> 9 9 <input type="hidden" name="action" value="bbp-search-request" /> 10 10 <input type="search" id="s" class="search-field" placeholder="<?php echo esc_attr_x( 'Search forums', 'placeholder', 'wporg-forums' ); ?>" value="<?php echo esc_attr( bbp_get_search_terms() ); ?>" name="bbp_search" required /> … … 13 13 <path d="M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"></path> 14 14 </svg> 15 <span class="screen-reader-text"><?php _e( 'Search forums', 'wporg-forums' ); ?></span>15 <span class="screen-reader-text"><?php esc_html_e( 'Search forums', 'wporg-forums' ); ?></span> 16 16 </button> 17 17 </form> … … 20 20 21 21 <form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>"> 22 <label for="s" class="screen-reader-text"><?php _ex( 'Search for:', 'label', 'wporg-forums' ); ?></label>22 <label for="s" class="screen-reader-text"><?php echo esc_html_x( 'Search for:', 'label', 'wporg-forums' ); ?></label> 23 23 <?php 24 24 $tab = null; … … 46 46 <path d="M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"></path> 47 47 </svg> 48 <span class="screen-reader-text"><?php _e( 'Search forums', 'wporg-forums' ); ?></span>48 <span class="screen-reader-text"><?php esc_html_e( 'Search forums', 'wporg-forums' ); ?></span> 49 49 </button> 50 50 </form> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/sidebar.php
r15170 r15179 7 7 <ul> 8 8 <li><?php 9 /* translators: %s: user's display name */ 10 printf( __( 'Howdy, %s', 'wporg-forums' ), 11 '<a href="' . esc_url( bbp_get_user_profile_url( bbp_get_current_user_id() ) ) . '">' . bbp_get_current_user_name() . '</a>' 9 printf( 10 /* translators: %s: Current user's profile link. */ 11 esc_html__( 'Howdy, %s', 'wporg-forums' ), 12 '<a href="' . esc_url( bbp_get_user_profile_url( bbp_get_current_user_id() ) ) . '">' . esc_html( bbp_get_current_user_name() ) . '</a>' 12 13 ); 13 14 ?></li> 14 <li><a href="<?php echo esc_url( wp_logout_url() ); ?>"><?php _e( 'Log Out', 'wporg-forums' ); ?></a></li>15 <li><a href="<?php echo esc_url( wp_logout_url() ); ?>"><?php esc_html_e( 'Log Out', 'wporg-forums' ); ?></a></li> 15 16 </ul> 16 17 </div> … … 25 26 <ul class="forum-info"> 26 27 <?php bb_base_single_forum_description(); ?> 27 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/"><?php _e( 'RSS Recent Posts', 'wporg-forums' ); ?></a></li>28 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/?type=topic"><?php _e( 'RSS Recent Topics', 'wporg-forums' ); ?></a></li>28 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/"><?php esc_html_e( 'RSS Recent Posts', 'wporg-forums' ); ?></a></li> 29 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/?type=topic"><?php esc_html_e( 'RSS Recent Topics', 'wporg-forums' ); ?></a></li> 29 30 <?php if ( is_user_logged_in() && $forum_subscription_link = bbp_get_forum_subscription_link() ) : ?> 30 31 <li class="forum-subscribe"><?php echo wp_kses_post( $forum_subscription_link ); ?></li> … … 86 87 87 88 <div> 88 <h2><?php _e( 'Topics', 'wporg-forums' ); ?></h2>89 <h2><?php esc_html_e( 'Topics', 'wporg-forums' ); ?></h2> 89 90 90 91 <?php echo do_blocks( … … 103 104 104 105 <div> 105 <h2><?php _e( 'Feeds', 'wporg-forums' ); ?></h2>106 <h2><?php esc_html_e( 'Feeds', 'wporg-forums' ); ?></h2> 106 107 <ul class="forum-feeds"> 107 <li><a class="feed" href="<?php bbp_forums_url(); ?>feed/"><?php _e( 'RSS Recent Posts', 'wporg-forums' ); ?></a></li>108 <li><a class="feed" href="<?php bbp_topics_url(); ?>feed/"><?php _e( 'RSS Recent Topics', 'wporg-forums' ); ?></a></li>108 <li><a class="feed" href="<?php bbp_forums_url(); ?>feed/"><?php esc_html_e( 'RSS Recent Posts', 'wporg-forums' ); ?></a></li> 109 <li><a class="feed" href="<?php bbp_topics_url(); ?>feed/"><?php esc_html_e( 'RSS Recent Topics', 'wporg-forums' ); ?></a></li> 109 110 </ul> 110 111 </div> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/404.php
r6277 r15179 24 24 printf( 25 25 /* translators: Home URL. */ 26 __( 'Try searching from the field above, or go to the <a href="%s">home page</a>.', 'wporg' ), // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped26 wp_kses_post( __( 'Try searching from the field above, or go to the <a href="%s">home page</a>.', 'wporg' ) ), 27 27 esc_url( get_home_url() ) 28 28 ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/inc/template-tags.php
r9923 r15179 31 31 printf( 32 32 /* translators: 1: post date 2: post author */ 33 '<span class="posted-on">' . __( 'Posted on %1$s by %2$s.', 'wporg' ) . '</span>',33 '<span class="posted-on">' . esc_html__( 'Posted on %1$s by %2$s.', 'wporg' ) . '</span>', 34 34 $time_string, 35 35 $author_string -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/template-parts/content-none.php
r9923 r15179 20 20 printf( 21 21 /* translators: Link to post editor. */ 22 __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'wporg' ), // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped22 wp_kses_post( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'wporg' ) ), 23 23 esc_url( admin_url( 'post-new.php' ) ) 24 24 ); -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/404.php
r15170 r15179 20 20 <div class="baron-von-pick"> 21 21 <img src="<?php echo esc_url( get_theme_file_uri( 'i/michael-pick-stashes-a-guinness.gif' ) ); ?>" alt="" /><br /> 22 <?php printf( __( 'Photo animation credit: %s.', 'wptv' ), '<a href="https://markjaquith.com/">Mark Jaquith</a>' ); ?> 22 <?php /* translators: %s: Photo credit link. */ ?> 23 <?php printf( esc_html__( 'Photo animation credit: %s.', 'wptv' ), '<a href="https://markjaquith.com/">Mark Jaquith</a>' ); ?> 23 24 </div> 24 25 <div class="message-404"> … … 27 28 <p><?php esc_html_e( 'Try searching for what you were looking for.', 'wptv' ); ?></p> 28 29 <p><?php echo get_search_form(); ?></p> 29 <p><?php printf( __( 'Or, <a href="%s">visit the homepage</a> to start a fresh journey.', 'wptv' ), '/' ); ?></p> 30 <?php /* translators: %s: Homepage URL. */ ?> 31 <p><?php printf( wp_kses_post( __( 'Or, <a href="%s">visit the homepage</a> to start a fresh journey.', 'wptv' ) ), '/' ); ?></p> 30 32 </div> 31 33 </div> -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/archive.php
r8368 r15179 16 16 <h2 class="page-title"><?php 17 17 if ( is_category() ) : 18 printf( __( '‘%s’ Videos', 'wptv' ), single_cat_title( '', false ) ); 18 /* translators: %s: Category name. */ 19 printf( esc_html__( '‘%s’ Videos', 'wptv' ), esc_html( single_cat_title( '', false ) ) ); 19 20 20 21 elseif ( is_tag() ) : 21 printf( __( '‘%s’ Videos', 'wptv' ), single_tag_title( '', false ) ); 22 /* translators: %s: Tag name. */ 23 printf( esc_html__( '‘%s’ Videos', 'wptv' ), esc_html( single_tag_title( '', false ) ) ); 22 24 23 25 elseif ( is_day() ) : 24 printf( _x( 'Archive for %s', 'Daily archive page', 'wptv' ), get_the_time( __( 'F jS, Y', 'wptv' ) ) ); 26 $archive_date = get_the_time( __( 'F jS, Y', 'wptv' ) ); 27 /* translators: %s: Date. */ 28 printf( esc_html_x( 'Archive for %s', 'Daily archive page', 'wptv' ), esc_html( $archive_date ) ); 25 29 26 30 elseif ( is_month() ) : 27 printf( _x( 'Archive for %s', 'Monthly archive page', 'wptv' ), get_the_time( __( 'F, Y', 'wptv' ) ) ); 31 $archive_date = get_the_time( __( 'F, Y', 'wptv' ) ); 32 /* translators: %s: Month. */ 33 printf( esc_html_x( 'Archive for %s', 'Monthly archive page', 'wptv' ), esc_html( $archive_date ) ); 28 34 29 35 elseif ( is_year() ) : 30 printf( _x( 'Archive for %s', 'Yearly archive page', 'wptv' ), get_the_time( __( 'Y', 'wptv' ) ) ); 36 $archive_date = get_the_time( __( 'Y', 'wptv' ) ); 37 /* translators: %s: Year. */ 38 printf( esc_html_x( 'Archive for %s', 'Yearly archive page', 'wptv' ), esc_html( $archive_date ) ); 31 39 32 40 elseif ( is_author() ) : … … 39 47 40 48 elseif ( is_search() ) : 41 printf( __( 'Search Results for ‘%s’', 'wptv' ), '<span>' . get_search_query() . '</span>' ); 49 /* translators: %s: Search query. */ 50 printf( esc_html__( 'Search Results for ‘%s’', 'wptv' ), '<span>' . get_search_query() . '</span>' ); 42 51 43 52 else : -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/breadcrumbs.php
r7676 r15179 9 9 ?> 10 10 <div class="breadcrumb"> 11 <a href="<?php echo esc_url( home_url() ); ?>"><?php _e( 'Home', 'wptv' ); ?></a>11 <a href="<?php echo esc_url( home_url() ); ?>"><?php esc_html_e( 'Home', 'wptv' ); ?></a> 12 12 <?php 13 13 $wptv->the_category( '<span class="arrow">»</span>' ); -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/comments.php
r7675 r15179 24 24 if ( 1 == $comments_number ) { 25 25 /* translators: %s: post title */ 26 printf( _x( 'One response on “%s”', 'comments title', 'wptv' ), '<span>' . get_the_title() . '</span>' );26 printf( esc_html_x( 'One response on “%s”', 'comments title', 'wptv' ), '<span>' . esc_html( get_the_title() ) . '</span>' ); 27 27 } else { 28 28 printf( 29 /* translators: 1: number of comments, 2: post title */ 30 _nx( 31 '%1$s response on “%2$s”', 32 '%1$s responses on “%2$s”', 33 $comments_number, 34 'comments title', 35 'wptv' 29 esc_html( 30 /* translators: 1: Number of comments, 2: Post title. */ 31 _nx( 32 '%1$s response on “%2$s”', 33 '%1$s responses on “%2$s”', 34 $comments_number, 35 'comments title', 36 'wptv' 37 ) 36 38 ), 37 39 number_format_i18n( $comments_number ), 38 '<span>' . get_the_title() . '</span>'40 '<span>' . esc_html( get_the_title() ) . '</span>' 39 41 ); 40 42 } -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/functions.php
r15170 r15179 478 478 479 479 <small class="commentmetadata"> 480 <a href="#comment-<?php comment_ID() ?>" title=""><?php printf( __( '%1$s at %2$s', 'wptv' ), get_comment_date(), get_comment_time() ); ?></a> 480 <?php /* translators: 1: Comment date, 2: Comment time. */ ?> 481 <a href="#comment-<?php comment_ID(); ?>" title=""><?php printf( esc_html__( '%1$s at %2$s', 'wptv' ), esc_html( get_comment_date() ), esc_html( get_comment_time() ) ); ?></a> 481 482 <?php 482 483 edit_comment_link( __( 'edit', 'wptv' ), ' ', '' ); … … 493 494 <div class="commenttext"> 494 495 <?php if ( $comment->comment_approved == '0' ) : ?> 495 <em><?php _e( 'Your comment is awaiting moderation.', 'wptv' ); ?></em>496 <em><?php esc_html_e( 'Your comment is awaiting moderation.', 'wptv' ); ?></em> 496 497 <?php endif; // comment_approved == 0 ?> 497 498 -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/index.php
r15170 r15179 75 75 <p class="center"><?php esc_html_e( 'Try searching for what you were looking for.' ); ?></p> 76 76 <p><?php echo get_search_form(); ?></p> 77 <p><?php printf ( __( 'Or, <a href="%s">visit the homepage</a> to start a fresh journey.', 'wptv' ), '/' ); ?></p> 77 <?php /* translators: %s: Homepage URL. */ ?> 78 <p><?php printf( wp_kses_post( __( 'Or, <a href="%s">visit the homepage</a> to start a fresh journey.', 'wptv' ) ), '/' ); ?></p> 78 79 <p> 79 80 <img src="<?php echo esc_url( get_theme_file_uri( 'i/michael-pick-stashes-a-guinness.gif' ) ); ?>" alt="" /><br /> -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/upload-subtitles-template.php
r15170 r15179 167 167 <div class="container"> 168 168 <div class="video-upload"> 169 <p><?php printf( __( 'Hey there! If you’re interested in subtitling or captioning videos for WordPress.tv, please fill out the <a href="%s">contact form</a>, and we’ll be in touch.', 'wptv' ), 'https://wordpress.tv/contact/' ); ?></p> 169 <?php /* translators: %s: Contact form URL. */ ?> 170 <p><?php printf( wp_kses_post( __( 'Hey there! If you’re interested in subtitling or captioning videos for WordPress.tv, please fill out the <a href="%s">contact form</a>, and we’ll be in touch.', 'wptv' ) ), 'https://wordpress.tv/contact/' ); ?></p> 170 171 <div class="pass-form"> 171 172 <?php echo get_the_password_form(); ?> … … 255 256 <table> 256 257 <tr> 257 <th><label for="wptv_wporg_username"><?php _e( 'WordPress.org Username' ); ?><span class="required"> * </span></label></th>258 <th><label for="wptv_wporg_username"><?php esc_html_e( 'WordPress.org Username' ); ?><span class="required"> * </span></label></th> 258 259 <td> 259 260 <input type="text" id="wptv_wporg_username" name="wptv_wporg_username" /><br /> … … 272 273 273 274 <tr> 274 <th><label for="wptv_language"><?php _e( 'Language' ); ?><span class="required"> * </span></label></th>275 <th><label for="wptv_language"><?php esc_html_e( 'Language' ); ?><span class="required"> * </span></label></th> 275 276 <td> 276 277 <select name="wptv_language"> … … 284 285 285 286 <tr> 286 <th><label for="wptv_subtitles_file"><?php _e( 'Subtitles File' ); ?><span class="required"> * </span></label></th>287 <th><label for="wptv_subtitles_file"><?php esc_html_e( 'Subtitles File' ); ?><span class="required"> * </span></label></th> 287 288 <td><input type="file" name="wptv_subtitles_file" id="wptv_subtitles_file" /></td> 288 289 </tr> -
sites/trunk/wp15.wordpress.net/public_html/content/mu-plugins/locales.php
r7080 r15179 242 242 </p> 243 243 <button type="button" class="wp15-locale-notice-dismiss"> 244 <span class="screen-reader-text"><?php _e( 'Dismiss this notice.' ); ?></span>244 <span class="screen-reader-text"><?php esc_html_e( 'Dismiss this notice.' ); ?></span> 245 245 </button> 246 246 </div>
Note:
See TracChangeset
for help on using the changeset viewer.