Coder Social home page Coder Social logo

wordpress's Introduction

WordPress

Build Status

Welcome to the WordPress development repository! Please check out our contributor handbook for information about how to open bug reports, contribute patches, test, documentation, or get involved in any way you can.

Getting Started

WordPress is a PHP/MySQL-based project. We have a basic development environment that you can quickly get up and running with a few commands. First off, you will need to download and install Docker, if you don't have it already. After that, there are a few commands to run:

Development Environment Commands

Running these commands will start the development environment:

npm install
npm run build:dev
npm run env:start
npm run env:install

Additionally, npm run env:stop will stop the environment.

npm run env:cli runs the WP-CLI tool. WP-CLI has a lot of useful commands you can use to work on your WordPress site. Where the documentation mentions running wp, run npm run env:cli instead. For example, npm run env:cli help.

npm run test:php and npm run test:e2e run the PHP and E2E test suites, respectively.

wordpress's People

Contributors

ryanboren avatar nacin avatar sergeybiryukov avatar azaozz avatar staylor avatar m avatar drewapicture avatar markjaquith avatar westi avatar ocean90 avatar dd32 avatar lancewillett avatar johnbillion avatar boonebgorges avatar pento avatar westonruter avatar helen avatar afercia avatar jeremyfelt avatar desrosj avatar aaronjorbin avatar mikelittle avatar mattmiklic avatar obenland avatar swissspidy avatar joncave avatar ianstewart avatar felixarntz avatar rachelbaker avatar dougalcampbell avatar

Stargazers

Dwi Ash avatar Harshit Dave avatar Tony Mosley avatar Emily K avatar Jonathan Teets avatar Liam Mann avatar Nicole Harnish avatar Chris Coyier avatar Fredrik Forsmo avatar Stephen Edgar avatar Marty Helmick avatar  avatar Sami Keijonen avatar Luke Cavanagh avatar

Watchers

 avatar Kelly Dwan avatar Stephen Edgar avatar Sami Keijonen avatar Omaar Osmaan avatar  avatar

wordpress's Issues

Accessible SVG Icon Markup

To be accessible the following markup should be used…

<svg aria-hidden="true">
  <use xlink:href="sprite.svg#my-icon"></use>
</svg>

Hide a decorative icon from screen readers

<svg role="img">
  <title>Text alternative</title>
  <use xlink:href="sprite.svg#my-icon"></use>
</svg>

Provide accessible text for an icon

These samples are tested and verified for VoiceOver+Safari, NVDA+Fx and JAWS16+IE11

Dashboard svg styling

Many icons need to be lowered by a few px. In the main area, icons should be #82878c

image

Media editor

image

Also note the calendar icon on the right, may be fixed by another issue

Comments bubble

image

This is built with css, not the font. Should we remake it with the comment svg?

Preserving BWC for Plugins using Dashicon's Icon Font

I've been looking around to see what's being used by plugins and so far this is what I've found…

note: Using All in One SEO and W3 Total Cache plugin as the case studies

markup in use for admin menu:

<div class="wp-menu-image dashicons-before dashicons-admin-generic"></div>

styling selectors in use for admin menu

.dashicons
.dashicons-before
.dashicons-before:before
.dashicons-admin-generic
.wp-menu-image
#adminmenu div.wp-menu-image:before

Swap icons in TinyMCE

This is in lots of places-anywhere you’re editing/adding a post/page/cpt etc. Need to figure out how to get TinyMCE icons to be SVG. Anyone?

screenshot 2016-10-18 16 03 33

Please convert bbPress dashicons to SVG

Following up from #14 as I see bbPress dashicons were not converted
screen shot 2016-11-03 at 10 14 49 am

bbPress' plan is to no longer "hide" these icons, they were originally not published on https://developer.wordpress.org/resource/dashicons/ so they'd be available exclusively to bbPress.

The current bbPress dashicons: https://codex.bbpress.org/official-logos-and-icons/
• bbPress Logo: content: "\f477";class="dashicons dashicons-bbpress-logo"
• Forums/Hive: content: "\f449";class="dashicons dashicons-bbpress-forum"
• Topics/Honey: content: "\f450";class="dashicons dashicons-bbpress-topic"
• Replies/Bee: content: "\f451";class="dashicons dashicons-bbpress-reply"

** The bbPress was converted as this icon has always been public

With love and thanks in advance, the bbPress team ❤️

Press this page needs icons

image

The tinymce ones on the left should be resolved by issue #10 , and the arrows on the right by the issue that deals with customizer icons, so this is probably just the undo/redo icons

New post screen work

image

Fix icon coloring and positioning in Publish and Format meta boxes. Use svg in Add MEdia button. Note, icons in visual editor are rendered through tinymce, so this screenshot is showing them as a font. See #10

Add functionality for 3rd-party icons

This came up in #15, where bbPress and BuddyPress want to use icons in their projects. Part of converting to this SVG process was to enable other projects using WordPress greater flexibility: you're not restricted to Dashicons, and you don't need to create an entire font just to use your icons. You can create a small SVG sprite with just your icons, and call on them in your plugin/theme.

Currently we don't have the setup for this, so we should think about how to approach it.

Install plugins icons

image

We need to animate the svg like those orange arrows. Also, it turns into a checkmark-that needs to be an svg as well. Also, note the checkmark next to "Compatible..." in the bottom

SVG Dash icons not working in Windows XAMPP

Hi,

I am not exactly sure this is issue or a configuration issue, I have forked the repo and cloned in my local dev environment ( XAMPP / Windows ). SVG icons not displaying at all.

capture

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.